added more stubs, updated documentation
This commit is contained in:
1 parent
123e5e46c3
commit
8fce9681be
14 files changed
+149
-69
No files matched your search
@@ -0,0 +1,3 @@
|
||||
This routine is mentionned in the cartridge writing tutorial here: https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
|
||||
|
||||
We have to implement (or at least provide stub), otherwise cartridges will crash.
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
// XXX provide documentation and implementation
|
||||
|
||||
RUNC:
|
||||
rts
|
||||
@@ -0,0 +1,3 @@
|
||||
This routine is mentionned in the cartridge writing tutorial here: https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
|
||||
|
||||
We have to implement (or at least provide stub), otherwise cartridges will crash.
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
// XXX provide documentation and implementation
|
||||
|
||||
NEWSTT:
|
||||
rts
|
||||
@@ -1,7 +1,9 @@
|
||||
// Print string at $YYAA
|
||||
// Compute's Mapping the 64 p101
|
||||
|
||||
print_string:
|
||||
// print string routine
|
||||
|
||||
STROUT:
|
||||
// Setup pointer
|
||||
sty temp_string_ptr+1
|
||||
sta temp_string_ptr+0
|
||||
@@ -11,14 +13,13 @@ print_string:
|
||||
|
||||
// Get offset ready
|
||||
ldy #$00
|
||||
|
||||
print_string_loop:
|
||||
!:
|
||||
// Save Y in X, since X is preserved by chrout, but Y is not
|
||||
tya
|
||||
tax
|
||||
|
||||
lda (temp_string_ptr),y
|
||||
beq print_string_end
|
||||
beq !+
|
||||
|
||||
jsr JCHROUT
|
||||
|
||||
@@ -26,10 +27,8 @@ print_string_loop:
|
||||
tay
|
||||
|
||||
iny
|
||||
bne print_string_loop
|
||||
|
||||
print_string_end:
|
||||
|
||||
bne !-
|
||||
!:
|
||||
pla
|
||||
tax
|
||||
rts
|
||||
@@ -0,0 +1 @@
|
||||
At least the FB64 (a file browser) uses this routine - but outputting number as ASCI is defintelyy useful routine, certainly much more programs use it.
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
//
|
||||
// Well-known BASIC routine, described in:
|
||||
//
|
||||
// - [CM64] Compute's Mapping the Commodore 64 - page 116, XXX
|
||||
//
|
||||
|
||||
|
||||
LINPRT:
|
||||
rts // XXX implement this
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
// XXX provide documentation and implementation
|
||||
|
||||
INIT:
|
||||
rts
|
||||
@@ -0,0 +1,3 @@
|
||||
This routine is mentionned in the cartridge writing tutorial here: https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
|
||||
|
||||
We have to implement (or at least provide stub), otherwise cartridges will crash.
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
// XXX provide documentation and implementation
|
||||
|
||||
INITMSG:
|
||||
rts
|
||||
@@ -0,0 +1,3 @@
|
||||
This routine is mentionned in the cartridge writing tutorial here: https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
|
||||
|
||||
We have to implement (or at least provide stub), otherwise cartridges will crash.
|
||||
@@ -0,0 +1,3 @@
|
||||
This routine is mentionned in the cartridge writing tutorial here: https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image
|
||||
|
||||
We have to implement (or at least provide stub), otherwise cartridges will crash.
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
// XXX provide documentation and implementation
|
||||
|
||||
RVECT:
|
||||
rts
|
||||
Reference in new issue
Block a user