1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-06-09 04:29:31 +00:00

More conversion.

This commit is contained in:
Chris Pressey 2018-09-09 15:03:43 +01:00
parent 5549b8379f
commit 7d32277e2c
12 changed files with 20 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -1,5 +1,5 @@
word score
routine main
define main routine
inputs score
outputs score
trashes a, c, z, v, n

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
routine main
define main routine
trashes a, y, z, n, c
{
ld y, 65

View File

@ -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

View File

@ -1,4 +1,4 @@
routine foo
define main routine
inputs a
outputs a
{

View File

@ -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

View File

@ -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

View File

@ -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
{

View File

@ -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
{