Skip to content

Commit

Permalink
Fix numbering of the entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanizag committed Aug 24, 2021
1 parent 5a0b9f9 commit aeb8773
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ bbz
dist/
firmware.o
.bzzhistory
XROMs/
22 changes: 11 additions & 11 deletions asm/firmware.s
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,17 @@ epUSER: rts ; 0xfb11
epSYSBRK: rts ; 0xfb12
epRDRM: rts ; 0xfb13
epVDUCH: rts ; 0xfb14
epGSINIT: rts ; 0xfb16
epGSREAD: rts ; 0xfb17
epNET: rts ; 0xfb18
epVDU: rts ; 0xfb19
epKEY: rts ; 0xfb1a
epINS: rts ; 0xfb1b
epREM: rts ; 0xfb1c
epCNP: rts ; 0xfb1d
epIND1: rts ; 0xfb1e
epIND2: rts ; 0xfb1f
epIND3: rts ; 0xfb20
epGSINIT: rts ; 0xfb15
epGSREAD: rts ; 0xfb16
epNET: rts ; 0xfb17
epVDU: rts ; 0xfb18
epKEY: rts ; 0xfb19
epINS: rts ; 0xfb1a
epREM: rts ; 0xfb1b
epCNP: rts ; 0xfb1c
epIND1: rts ; 0xfb1d
epIND2: rts ; 0xfb1e
epIND3: rts ; 0xfb1f


; MOS function calls
Expand Down
24 changes: 12 additions & 12 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ const (
epSYSBRK uint16 = 0xfb12
epRDRM uint16 = 0xfb13
epVDUCH uint16 = 0xfb14
epGSINIT uint16 = 0xfb16
epGSREAD uint16 = 0xfb17
epNET uint16 = 0xfb18
epVDU uint16 = 0xfb19
epKEY uint16 = 0xfb1a
epINS uint16 = 0xfb1b
epREM uint16 = 0xfb1c
epCNP uint16 = 0xfb1d
epIND1 uint16 = 0xfb1e
epIND2 uint16 = 0xfb1f
epIND3 uint16 = 0xfb20
epEntryPointsLast uint16 = 0xfb20
epGSINIT uint16 = 0xfb15
epGSREAD uint16 = 0xfb16
epNET uint16 = 0xfb17
epVDU uint16 = 0xfb18
epKEY uint16 = 0xfb19
epINS uint16 = 0xfb1a
epREM uint16 = 0xfb1b
epCNP uint16 = 0xfb1c
epIND1 uint16 = 0xfb1d
epIND2 uint16 = 0xfb1e
epIND3 uint16 = 0xfb1f
epEntryPointsLast uint16 = 0xfb1f

// Fred, Jim and Sheila
sheila_rom_latch uint16 = 0xfe30
Expand Down

0 comments on commit aeb8773

Please sign in to comment.