mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-04-09 07:39:20 +00:00
More conversion.
This commit is contained in:
parent
5549b8379f
commit
7d32277e2c
@ -457,7 +457,7 @@ define our_cinv game_state_routine
|
||||
goto dispatch_game_state
|
||||
}
|
||||
|
||||
routine main
|
||||
define main routine
|
||||
inputs cinv
|
||||
outputs cinv, save_cinv, pos, dispatch_game_state,
|
||||
screen1, screen2, screen3, screen4, colormap1, colormap2, colormap3, colormap4
|
||||
|
@ -49,7 +49,7 @@ byte scanline : 85 // %01010101
|
||||
// generating them as part of a SixtyPical program would not
|
||||
// be practical. So we just jump to this location instead.
|
||||
|
||||
routine pla_tay_pla_tax_pla_rti
|
||||
define pla_tay_pla_tax_pla_rti routine
|
||||
inputs a
|
||||
trashes a
|
||||
@ $EA81
|
||||
|
@ -1,5 +1,5 @@
|
||||
word score
|
||||
routine main
|
||||
define main routine
|
||||
inputs score
|
||||
outputs score
|
||||
trashes a, c, z, v, n
|
||||
|
@ -2,7 +2,7 @@ buffer[2048] buf
|
||||
pointer ptr @ 254
|
||||
byte foo
|
||||
|
||||
routine main
|
||||
define main routine
|
||||
inputs buf
|
||||
outputs buf, y, foo
|
||||
trashes a, z, n, ptr
|
||||
|
@ -1,16 +1,16 @@
|
||||
routine chrout
|
||||
define chrout routine
|
||||
inputs a
|
||||
trashes a
|
||||
@ 65490
|
||||
|
||||
routine print
|
||||
define print routine
|
||||
trashes a, z, n
|
||||
{
|
||||
ld a, 65
|
||||
call chrout
|
||||
}
|
||||
|
||||
routine main
|
||||
define main routine
|
||||
trashes a, z, n
|
||||
{
|
||||
call print
|
||||
|
@ -1,4 +1,4 @@
|
||||
routine main
|
||||
define main routine
|
||||
trashes a, y, z, n, c
|
||||
{
|
||||
ld y, 65
|
||||
|
@ -1,14 +1,14 @@
|
||||
routine chrout
|
||||
define chrout routine
|
||||
inputs a
|
||||
trashes a
|
||||
@ 65490
|
||||
|
||||
routine bar trashes a, z, n {
|
||||
define bar routine trashes a, z, n {
|
||||
ld a, 66
|
||||
call chrout
|
||||
}
|
||||
|
||||
routine main trashes a, z, n {
|
||||
define main routine trashes a, z, n {
|
||||
ld a, 65
|
||||
call chrout
|
||||
goto bar
|
||||
|
@ -1,4 +1,4 @@
|
||||
routine foo
|
||||
define main routine
|
||||
inputs a
|
||||
outputs a
|
||||
{
|
||||
|
@ -1,9 +1,9 @@
|
||||
routine chrout
|
||||
define chrout routine
|
||||
inputs a
|
||||
trashes a
|
||||
@ 65490
|
||||
|
||||
routine main
|
||||
define main routine
|
||||
trashes a, y, z, n, c
|
||||
{
|
||||
ld y, 65
|
||||
|
@ -1,11 +1,11 @@
|
||||
byte foo
|
||||
|
||||
routine chrout
|
||||
define chrout routine
|
||||
inputs a
|
||||
trashes a
|
||||
@ 65490
|
||||
|
||||
routine print
|
||||
define print routine
|
||||
inputs foo
|
||||
trashes a, z, n
|
||||
{
|
||||
@ -13,7 +13,7 @@ routine print
|
||||
call chrout
|
||||
}
|
||||
|
||||
routine main
|
||||
define main routine
|
||||
trashes a, y, z, n, foo
|
||||
{
|
||||
ld y, 65
|
||||
|
@ -1,9 +1,9 @@
|
||||
routine chrout
|
||||
define chrout routine
|
||||
inputs a
|
||||
trashes a
|
||||
@ 65490
|
||||
|
||||
routine main
|
||||
define main routine
|
||||
inputs a
|
||||
trashes a, z, n
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
// Define where the screen starts in memory:
|
||||
byte table[256] screen @ 7680
|
||||
|
||||
routine main
|
||||
define main routine
|
||||
// These are the values that will be written to by this routine:
|
||||
trashes a, x, z, n, screen
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user