mirror of
https://github.com/specht/champ.git
synced 2024-11-26 01:49:20 +00:00
documentation
This commit is contained in:
parent
dcd94b74b0
commit
4f4c7f9c71
16
README.md
16
README.md
@ -19,14 +19,14 @@ Take `plot3d.yaml` for example:
|
||||
|
||||
```
|
||||
load:
|
||||
- [0x8900, 'plot3d/SINETABLE']
|
||||
- [0x1200, 'plot3d/multtab.s']
|
||||
- [0xb600, 'plot3d/projtab.s']
|
||||
- [0x8400, 'plot3d/ldrwtab.s']
|
||||
- [0x9500, 'plot3d/FONT']
|
||||
- [0x9000, 'plot3d/object1.s']
|
||||
- [0x8b00, 'plot3d/object2.s']
|
||||
- [0x6000, 'plot3d/plot3d242.s']
|
||||
0x6000: plot3d/plot3d242.s
|
||||
0x1200: plot3d/multtab.s
|
||||
0x8400: plot3d/ldrwtab.s
|
||||
0x8900: plot3d/SINETABLE
|
||||
0x8b00: plot3d/object2.s
|
||||
0x9000: plot3d/object1.s
|
||||
0x9500: plot3d/FONT
|
||||
0xb600: plot3d/projtab.s
|
||||
entry: ENTRY
|
||||
instant_rts:
|
||||
- LOAD1
|
||||
|
4
champ.rb
4
champ.rb
@ -42,8 +42,8 @@ class Champ
|
||||
end
|
||||
@config = YAML.load(File.read(args.shift))
|
||||
@source_files = []
|
||||
@config['load'].each do |tuple|
|
||||
@source_files << {:path => File.absolute_path(tuple[1]), :address => tuple[0]}
|
||||
@config['load'].each_pair do |address, path|
|
||||
@source_files << {:path => File.absolute_path(path), :address => address}
|
||||
end
|
||||
|
||||
@keywords = Set.new(KEYWORDS.split(/\s/).map { |x| x.strip }.reject { |x| x.empty? })
|
||||
|
16
plot3d.yaml
16
plot3d.yaml
@ -1,12 +1,12 @@
|
||||
load:
|
||||
- [0x8900, 'plot3d/SINETABLE']
|
||||
- [0x1200, 'plot3d/multtab.s']
|
||||
- [0xb600, 'plot3d/projtab.s']
|
||||
- [0x8400, 'plot3d/ldrwtab.s']
|
||||
- [0x9500, 'plot3d/FONT']
|
||||
- [0x9000, 'plot3d/object1.s']
|
||||
- [0x8b00, 'plot3d/object2.s']
|
||||
- [0x6000, 'plot3d/plot3d242.s']
|
||||
0x6000: plot3d/plot3d242.s
|
||||
0x1200: plot3d/multtab.s
|
||||
0x8400: plot3d/ldrwtab.s
|
||||
0x8900: plot3d/SINETABLE
|
||||
0x8b00: plot3d/object2.s
|
||||
0x9000: plot3d/object1.s
|
||||
0x9500: plot3d/FONT
|
||||
0xb600: plot3d/projtab.s
|
||||
entry: ENTRY
|
||||
instant_rts:
|
||||
- LOAD1
|
||||
|
Loading…
Reference in New Issue
Block a user