Skip to content

Commit

Permalink
docs: refresh the SAVENEX example
Browse files Browse the repository at this point in the history
  • Loading branch information
ped7g committed Feb 18, 2021
1 parent 196a2d4 commit f70cd88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -3429,7 +3429,7 @@
; write everything into NEX file
SAVENEX OPEN "example.nex", start, $FFFE, 9 ; stack will go into Layer2
SAVENEX CORE 2, 0, 0 ; Next core 2.0.0 required as minimum
SAVENEX CFG 4, 1 ; green border, file handle in BC
SAVENEX CFG 4, 1, 0, 1 ; green border, file handle in BC, reset NextRegs, 2MB required
SAVENEX BAR 1, $E0, 50, 25 ; do load bar, red colour, start/load delays 50/25 frames
SAVENEX SCREEN L2 0, 0 ; store the data from C000 (page 0, offset 0), no palette
SAVENEX BANK 5, 100, 101 ; store the 16ki banks 5 (contains the code at 0x7E00), 100, 101
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4810,7 +4810,7 @@ start: ei : jr $ ; app code entry point, BC = NEX file handle
; write everything into NEX file
SAVENEX OPEN "example.nex", start, $FFFE, 9 ; stack will go into Layer2
SAVENEX CORE 2, 0, 0 ; Next core 2.0.0 required as minimum
SAVENEX CFG 4, 1 ; green border, file handle in BC
SAVENEX CFG 4, 1, 0, 1 ; green border, file handle in BC, reset NextRegs, 2MB required
SAVENEX BAR 1, $E0, 50, 25 ; do load bar, red colour, start/load delays 50/25 frames
SAVENEX SCREEN L2 0, 0 ; store the data from C000 (page 0, offset 0), no palette
SAVENEX BANK 5, 100, 101 ; store the 16ki banks 5 (contains the code at 0x7E00), 100, 101
Expand Down

0 comments on commit f70cd88

Please sign in to comment.