burn 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +15 -13
- data/lib/burn/fuel/telnet/scene.rb +1 -1
- data/lib/burn/version.rb +1 -1
- metadata +15 -25
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 88d0abe3fd9169eb51afc7b5d39254e849fef9a9
|
4
|
+
data.tar.gz: 1acf007ed7181340caf2ba58396d1b436b2628b8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1731a31e5c034f15c4f66470018a19ea6f21ff7799f175738e7f4a9037697aafa0e6e4f56643dde2241988d74f631f652772f2ff432df1e85738d15734958f26
|
7
|
+
data.tar.gz: 216e80634e3251f48a9a4f803a3e3a7f74c9f654cfa04ffe7181e38a77e4d8ad4b87cba199b0b419de1682469a1e60ae23117b4121baaaa9ac6adadb4db97189
|
data/README.md
CHANGED
@@ -45,9 +45,9 @@ and at the same time, you can run this as a telnet server application:
|
|
45
45
|
|
46
46
|
![star animated telnet server app](http://k.swd.cc/burn/resource/screenshot/star-telnet.gif)
|
47
47
|
|
48
|
-
Just like
|
48
|
+
Just like Recipes and Cookbooks are DSLs for the Chef rubygem, this dead simple DSL is for the Burn rubygem, and we call it Fuel.
|
49
49
|
|
50
|
-
Imagine 8-bit application like [ascii starwars movie](http://lifehacker.com/373571/watch-star-wars-in-text-via-telnet) can be created in seconds, seriously. Now is the time to go back and
|
50
|
+
Imagine an 8-bit application like [ascii starwars movie](http://lifehacker.com/373571/watch-star-wars-in-text-via-telnet) can be created in seconds, seriously. Now is the time to go back and revisit what a low-resolution application is.
|
51
51
|
|
52
52
|
![system menu example](http://k.swd.cc/burn/resource/screenshot/system-menu.gif)
|
53
53
|
|
@@ -70,12 +70,12 @@ Imagine 8-bit application like [ascii starwars movie](http://lifehacker.com/3735
|
|
70
70
|
|
71
71
|
### How It Works
|
72
72
|
|
73
|
-
Burn
|
73
|
+
Burn has two modes, `:rom` mode and `:telnet` mode.
|
74
74
|
|
75
75
|
For `:rom` mode, Burn uses cc65 executables embedded in its gemfile for compilation. The main workflow is as follows.
|
76
76
|
|
77
77
|
- translate ruby DSL file into c source code
|
78
|
-
- compile
|
78
|
+
- compile source to make executable(*.nes) by calling cc65
|
79
79
|
- provide an emulator(JSNES) for rapid application development
|
80
80
|
|
81
81
|
Meanwhile, for `:telnet` mode Burn works like this:
|
@@ -85,8 +85,8 @@ Meanwhile, for `:telnet` mode Burn works like this:
|
|
85
85
|
|
86
86
|
### Requirements
|
87
87
|
|
88
|
-
-
|
89
|
-
- gcc (
|
88
|
+
- Ruby 1.9.1+
|
89
|
+
- gcc (Windows users do not require this)
|
90
90
|
|
91
91
|
Burn supports all major OS like MacOS, Unix-like systems and Windows.
|
92
92
|
|
@@ -109,25 +109,27 @@ Burn supports all major OS like MacOS, Unix-like systems and Windows.
|
|
109
109
|
burn & # run telnet server
|
110
110
|
telnet localhost 60000
|
111
111
|
|
112
|
-
More Examples are available at example folder.
|
112
|
+
More Examples are available at example folder. Please clone the repository using `git clone https://github.com/remore/burn.git` and play.
|
113
113
|
|
114
114
|
## Fuel DSL
|
115
115
|
|
116
|
-
Currently example code
|
116
|
+
Currently example code is the best reference. For documentation, please see following materials:
|
117
117
|
|
118
118
|
[Reference for :nes mode](https://github.com/remore/burn/blob/master/FUEL-ROM.md)
|
119
119
|
|
120
120
|
Reference for :telnet mode(coming soon)
|
121
121
|
|
122
|
-
|
122
|
+
Additional reference material is TBD:
|
123
|
+
|
124
|
+
- articles about #show, #sprite, #rand and #is_pressed are coming very soon
|
123
125
|
|
124
126
|
## Notes
|
125
127
|
|
126
128
|
### Why Burn
|
127
129
|
|
128
|
-
Primarily, to
|
130
|
+
Primarily, to help the anti-piracy movement gain significant momentum. There are [countless ways out there](http://en.wikipedia.org/wiki/List_of_video_game_emulators#Consoles) that emulate .nes games, but very few that create .nes rom file without hassle. This is the original reason why @remore has developed Burn.
|
129
131
|
|
130
|
-
Secondarily, to get back a lost love to video game programming. Having high-spec machine
|
132
|
+
Secondarily, to get back a lost love to video game programming. Having high-spec machine will not always make human beings happy. Sometimes we need a reminder to look back to an older era where many constrains still exist. You might think it's silly, but I'm serious. It's crazy fun to struggle.
|
131
133
|
|
132
134
|
### Discussions and Conference Talks
|
133
135
|
|
@@ -141,7 +143,7 @@ A quick discussion at [Reddit.com](http://www.reddit.com/r/programming/comments/
|
|
141
143
|
|
142
144
|
* Shiru - This project had never been born if I had not found [this article](http://shiru.untergrund.net/articles/programming_nes_games_in_c.htm)
|
143
145
|
* My friend from high school - I appreciate him for sending me fine-grained reviews as always
|
144
|
-
* @josbrahol sent me a great pull request which contains many grammatical errors
|
146
|
+
* @josbrahol and @buzzedword sent me a great pull request which contains many grammatical errors
|
145
147
|
* @kdb424 sent me a pull request to fix a typo
|
146
148
|
|
147
149
|
### License
|
@@ -153,7 +155,7 @@ GPLv3
|
|
153
155
|
Here are a few todo-memo for :nes mode.
|
154
156
|
|
155
157
|
* New VM Support
|
156
|
-
*
|
158
|
+
* compatability with enchant.js
|
157
159
|
* Enhancement of Fuel DSL
|
158
160
|
* for Screen, support screen scroll and simple sprite
|
159
161
|
* for Screen, adding .bmp and .png support to make designing pattern table easier
|
@@ -35,7 +35,7 @@ module Burn
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def label(string, x=0, y=1)
|
38
|
-
@context.instance_exec { @opcodes << "@screen.display[#{y}][#{x},#{string.length}] = \"#{string
|
38
|
+
@context.instance_exec { @opcodes << "@screen.display[#{y}][#{x},#{string.length}] = \"#{string}\"" }
|
39
39
|
end
|
40
40
|
|
41
41
|
def wait(interval)
|
data/lib/burn/version.rb
CHANGED
metadata
CHANGED
@@ -1,78 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: burn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kei Sawada(@remore)
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: thor
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: archive-tar-minitar
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: eventmachine
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rake
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
description: Burn is a free and open source framework that allows you to create 8-bit
|
@@ -146,27 +137,26 @@ files:
|
|
146
137
|
homepage: http://k.swd.cc/burn/
|
147
138
|
licenses:
|
148
139
|
- GPLv3
|
140
|
+
metadata: {}
|
149
141
|
post_install_message:
|
150
142
|
rdoc_options: []
|
151
143
|
require_paths:
|
152
144
|
- lib
|
153
145
|
required_ruby_version: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
146
|
requirements:
|
156
|
-
- -
|
147
|
+
- - '>='
|
157
148
|
- !ruby/object:Gem::Version
|
158
149
|
version: 1.9.1
|
159
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
151
|
requirements:
|
162
|
-
- -
|
152
|
+
- - '>='
|
163
153
|
- !ruby/object:Gem::Version
|
164
154
|
version: '0'
|
165
155
|
requirements: []
|
166
156
|
rubyforge_project:
|
167
|
-
rubygems_version:
|
157
|
+
rubygems_version: 2.0.14
|
168
158
|
signing_key:
|
169
|
-
specification_version:
|
159
|
+
specification_version: 4
|
170
160
|
summary: Burn is a free and open source framework that allows you to create 8-bit
|
171
161
|
flavored application using Ruby DSL.
|
172
162
|
test_files: []
|