gruesome 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.md +35 -0
- data/Rakefile +15 -0
- data/bin/gruesome +9 -0
- data/gruesome.gemspec +25 -0
- data/lib/gruesome/cli.rb +70 -0
- data/lib/gruesome/logo.rb +28 -0
- data/lib/gruesome/machine.rb +17 -0
- data/lib/gruesome/version.rb +3 -0
- data/lib/gruesome/z/abbreviation_table.rb +30 -0
- data/lib/gruesome/z/decoder.rb +292 -0
- data/lib/gruesome/z/dictionary.rb +156 -0
- data/lib/gruesome/z/header.rb +46 -0
- data/lib/gruesome/z/instruction.rb +50 -0
- data/lib/gruesome/z/machine.rb +71 -0
- data/lib/gruesome/z/memory.rb +268 -0
- data/lib/gruesome/z/object_table.rb +430 -0
- data/lib/gruesome/z/opcode.rb +519 -0
- data/lib/gruesome/z/opcode_class.rb +15 -0
- data/lib/gruesome/z/operand_type.rb +15 -0
- data/lib/gruesome/z/processor.rb +399 -0
- data/lib/gruesome/z/zscii.rb +337 -0
- data/lib/gruesome.rb +7 -0
- data/spec/z/memory_spec.rb +90 -0
- data/spec/z/processor_spec.rb +1956 -0
- data/test/logo.txt +77 -0
- metadata +118 -0
data/test/logo.txt
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
█ █
|
2
|
+
|
3
|
+
█▄▀░▒▓
|
4
|
+
|
5
|
+
|
6
|
+
█ █
|
7
|
+
█▄ ▄█
|
8
|
+
▀███▀
|
9
|
+
|
10
|
+
.
|
11
|
+
. G ^
|
12
|
+
^ G. ..GG^
|
13
|
+
^GG.. . ... ... GGGG
|
14
|
+
GGGGG. .G .G GGGGG GGGG. GG^ GG
|
15
|
+
GG GG. GG GG GG. ^GG GG .GG GG .G .G.
|
16
|
+
.... GG GG. GG GG GGGGGGG GGGG. GG GG GGG GGG^ .GGG.
|
17
|
+
.GGGGGG GG. GG GG. GG GG GG GG .GG GG G GG GG^ GG.
|
18
|
+
GG ^GGG. .GG^ GG. GG ^GGGGG. ^GGGG^ ^GG. .GG^ .G G .G GG GG
|
19
|
+
GG. GG^GGG GGG^ ^^^^^ ^^^^ GGGGG GG GG GG^GGGG^
|
20
|
+
^GG. GG GG GGG. ^^ ^^ GG. ^G^
|
21
|
+
^GG. GGG GG. GG. ^GGG.
|
22
|
+
^GGGGG^ ^GG ^GG ^GG.
|
23
|
+
^^^ GG. .GG ^GG
|
24
|
+
G^ .GG
|
25
|
+
^ G^
|
26
|
+
^
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
...... ........ ... ... ...... ..... ..... ... ... ......
|
31
|
+
.GGGGGGGG. GGGGGGGGG. GGG GGG .GGGGGGG .GGGGGGG. .GGGGGGG. GGGG.GGGG .GGGGGGG
|
32
|
+
GGG GGG ^GGG GGG GGG GGG GGG GGG GGG GGG GGG GGGGGGGGG GGG
|
33
|
+
GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG^G^GGG GGG
|
34
|
+
GGG GGGGG GGGGGGGG GGG GGG GGGGGGGG ^GGGGGG. GGG GGG GGG GGG GGGGGGGG
|
35
|
+
GGG ^^GGG ^GGG^^^G.. GGG GGG GGG^^^^^ ^^^^GGG GGG GGG GGG GGG GGG^^^^^
|
36
|
+
GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG
|
37
|
+
^GGGGGGGG^ GGG GGG ^GGGGGGG^ ^GGGGGGG ^GGGGGGG^ ^GGGGGGG^ GGG GGG ^GGGGGGG
|
38
|
+
^^^^^^ ^^^ ^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ ^^^^^^
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
..... .....
|
43
|
+
^GGGG. .GGGG^
|
44
|
+
^GGGG. .GGGG^
|
45
|
+
...... GGGGGG. ... ... ...... ..... .GGGG^ ... ... ......
|
46
|
+
.GGGGGGGG. GGG^GGGG. GGG GGG .GGGGGGG .GGGGGGG. .GGGG^GG. GGGG.GGGG .GGGGGGG
|
47
|
+
GGG GGG GGG ^GGG GGG GGG GGG GGG GGG GGG^ GGG GGGGGGGGG GGG
|
48
|
+
GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG^G^GGG GGG
|
49
|
+
GGG GGGGG GGGGGGGG GGG GGG GGGGGGGG ^GGGGGG. GGG GGG GGG GGG GGGGGGGG
|
50
|
+
GGG ^^GGG ^GGG^^^G.. GGG GGG GGG^^^^^ ^^^^GGG GGG GGG GGG GGG GGG^^^^^
|
51
|
+
GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG GGG
|
52
|
+
^GGGGGGGG^ GGG GGG ^GGGGGGG^ ^GGGGGGG ^GGGGGGG^ ^GGGGGGG^ GGG GGG ^GGGGGGG
|
53
|
+
^^^^^^ ^^^ ^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^ ^^^ ^^^^^^
|
54
|
+
|
55
|
+
|
56
|
+
!IG.^
|
57
|
+
|
58
|
+
█▄▀░▒▓▓ ---- Grew (grue?) it out a character to be 80 characters wide ----
|
59
|
+
|
60
|
+
▄▄▄▄▄ ▄▄▄▄▄
|
61
|
+
▀████▄ ▄████▀
|
62
|
+
▀████▄ ▄████▀
|
63
|
+
▄▄▄▄▄▄ ██████▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄████▀ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄
|
64
|
+
▄████████▄ ██▓▀████▄ ██▓ ███ ▄███████ ▄████████▄ ▄████▀██▄ ████▄████ ▄███████
|
65
|
+
██▓ ███ ██▓ ▀███ ██▓ ███ ██▓ ██▓ ███ ███▀ ███ █████████ ██▓
|
66
|
+
██▓ ██▓ ███ ██▓ ███ ██▓ ██▓ ██▓ ███ ███▀█▀███ ██▓
|
67
|
+
██▓ █████ ████████ ███ ███ ████████ ▀███████▄ ██▓ ███ ██▓ ███ ████████
|
68
|
+
██▓ ▀▀███ ▀██▓▀▀▀█▄▄ ███ ███ ███▀▀▀▀▀ ▀▀▀▀▀███ ██▓ ███ ██▓ ███ ███▀▀▀▀▀
|
69
|
+
██▓ ███ ██▓ ███ ██▓ ███ ██▓ ██▓ ███ ██▓ ███ ███ ███ ██▓
|
70
|
+
▀████████▀ ██▓ ███ ▀███████▀ ▀███████ ▀████████▀ ▀███████▀ ██▓ ███ ▀███████
|
71
|
+
▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gruesome
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
version: 0.0.1
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Dave Wilkinson
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2011-03-08 00:00:00 -05:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rspec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
type: :development
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: bit-struct
|
35
|
+
prerelease: false
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :runtime
|
45
|
+
version_requirements: *id002
|
46
|
+
description: Reads and executes various interactive fiction technologies and helps easily download new stories from other sources on the Internet.
|
47
|
+
email:
|
48
|
+
- wilkie05@gmail.com
|
49
|
+
executables:
|
50
|
+
- gruesome
|
51
|
+
extensions: []
|
52
|
+
|
53
|
+
extra_rdoc_files: []
|
54
|
+
|
55
|
+
files:
|
56
|
+
- .gitignore
|
57
|
+
- Gemfile
|
58
|
+
- README.md
|
59
|
+
- Rakefile
|
60
|
+
- bin/gruesome
|
61
|
+
- gruesome.gemspec
|
62
|
+
- lib/gruesome.rb
|
63
|
+
- lib/gruesome/cli.rb
|
64
|
+
- lib/gruesome/logo.rb
|
65
|
+
- lib/gruesome/machine.rb
|
66
|
+
- lib/gruesome/version.rb
|
67
|
+
- lib/gruesome/z/abbreviation_table.rb
|
68
|
+
- lib/gruesome/z/decoder.rb
|
69
|
+
- lib/gruesome/z/dictionary.rb
|
70
|
+
- lib/gruesome/z/header.rb
|
71
|
+
- lib/gruesome/z/instruction.rb
|
72
|
+
- lib/gruesome/z/machine.rb
|
73
|
+
- lib/gruesome/z/memory.rb
|
74
|
+
- lib/gruesome/z/object_table.rb
|
75
|
+
- lib/gruesome/z/opcode.rb
|
76
|
+
- lib/gruesome/z/opcode_class.rb
|
77
|
+
- lib/gruesome/z/operand_type.rb
|
78
|
+
- lib/gruesome/z/processor.rb
|
79
|
+
- lib/gruesome/z/zscii.rb
|
80
|
+
- spec/z/memory_spec.rb
|
81
|
+
- spec/z/processor_spec.rb
|
82
|
+
- test/logo.txt
|
83
|
+
has_rdoc: true
|
84
|
+
homepage: http://github.com/wilkie/gruesome
|
85
|
+
licenses: []
|
86
|
+
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
|
90
|
+
require_paths:
|
91
|
+
- lib
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
version: "0"
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
version: "0"
|
108
|
+
requirements: []
|
109
|
+
|
110
|
+
rubyforge_project: gruesome
|
111
|
+
rubygems_version: 1.3.7
|
112
|
+
signing_key:
|
113
|
+
specification_version: 3
|
114
|
+
summary: An Interactive Fiction client that can play/read interactive stories
|
115
|
+
test_files:
|
116
|
+
- spec/z/memory_spec.rb
|
117
|
+
- spec/z/processor_spec.rb
|
118
|
+
- test/logo.txt
|