c64asm 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/examples/hello_world.png +0 -0
- data/examples/hello_world.rb +2 -2
- data/lib/c64asm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b80b0896541671788bf4638e9c45ca27e8f841ca
|
4
|
+
data.tar.gz: 8ad525313a88826fff604ce570e8245cb12032c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6435271c17e7f5a7e886b651b0328d98b3e7e2fa3cd2a035faac990005a4617e4880c48309563c3f65436d43ef649e5386be0c28cd1cd6db560454f24f04c9dd
|
7
|
+
data.tar.gz: 0e9dd0ffe4133be7ef2bb4496cc10b59d24dba0db34121d8a5f55cdb2a6b57673f6dd5b314d9297567ef7ed372237d95b4143def64f4cd8a47a64b8d6eaf63ba
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# c64asm [![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://rubydoc.info/
|
1
|
+
# c64asm [![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/github/drbig/c64asm/master)
|
2
2
|
|
3
3
|
A MOS6502 assembler as a Ruby DLS, with focus on the Commodore 64.
|
4
4
|
|
@@ -14,6 +14,7 @@ Features:
|
|
14
14
|
Bugs:
|
15
15
|
- No test suite
|
16
16
|
- I believe my 'scrape opcodes table' approach missed some edge cases
|
17
|
+
- Half-assed doc strings. I didn't touch this for the last two years, sorry.
|
17
18
|
|
18
19
|
Todo:
|
19
20
|
- More C64 helpers, e.g. bank switching helpers and a hash of named addresses
|
@@ -21,6 +22,8 @@ Todo:
|
|
21
22
|
|
22
23
|
*I've written the bulk of it more than two years ago. I got to a rather cosy state of overall functionality, but I believe it misses some edge-cases. Please feel free to go nuts hacking it!*
|
23
24
|
|
25
|
+
I do appreciate feedback.
|
26
|
+
|
24
27
|
# Showcase
|
25
28
|
|
26
29
|
Got the gem, in the examples folder:
|
@@ -34,9 +37,9 @@ Got the gem, in the examples folder:
|
|
34
37
|
require 'c64asm'
|
35
38
|
|
36
39
|
hello_world = C64Asm::Macro.new do
|
37
|
-
block C64Asm::Basic.new('10 sys
|
40
|
+
block C64Asm::Basic.new('10 sys 49152').code
|
38
41
|
|
39
|
-
align 0xc000 #
|
42
|
+
align 0xc000 # 49152
|
40
43
|
jsr 0xe544 # clear
|
41
44
|
ldx.d 0 # string index
|
42
45
|
label :load
|
data/examples/hello_world.png
CHANGED
Binary file
|
data/examples/hello_world.rb
CHANGED
@@ -6,9 +6,9 @@ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
|
|
6
6
|
require 'c64asm'
|
7
7
|
|
8
8
|
hello_world = C64Asm::Macro.new do
|
9
|
-
block C64Asm::Basic.new('10 sys
|
9
|
+
block C64Asm::Basic.new('10 sys 49152').code
|
10
10
|
|
11
|
-
align 0xc000 #
|
11
|
+
align 0xc000 # 49152
|
12
12
|
jsr 0xe544 # clear
|
13
13
|
ldx.d 0 # string index
|
14
14
|
label :load
|
data/lib/c64asm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: c64asm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr S. Staszewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Already two-year-old project inspirated by the NES assembler written
|
14
14
|
in Lisp. The assembly DSL lets you easily unroll loops, create screen maps on the
|