1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2025-02-02 15:30:40 +00:00

Partial conversion of example programs.

This commit is contained in:
Chris Pressey 2018-09-07 23:00:29 +01:00
parent 38119dbe29
commit f81757fd76
8 changed files with 10 additions and 10 deletions

View File

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

View File

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

View File

@ -1,9 +1,9 @@
routine chrout
define chrout routine
inputs a
trashes a
@ 65490
routine main
define main routine
trashes a, x, y, z, n, c, v
{
ld a, 0

View File

@ -1,7 +1,7 @@
byte bar
byte baz
routine main
define main routine
inputs baz
outputs bar
trashes a, n, z

View File

@ -1,6 +1,6 @@
byte lives
routine main
define main routine
inputs lives
outputs lives
trashes a, x

View File

@ -6,14 +6,14 @@ routine chrout
trashes a
@ 65490
routine printa
define printa routine
trashes a, z, n
{
ld a, 65
call chrout
}
routine printb
define printb routine
trashes a, z, n
{
ld a, 66

View File

@ -12,7 +12,7 @@ vector routine
// call chrout
// }
routine main
define main routine
trashes print, a, z, n
{
copy printa, print

View File

@ -1,7 +1,7 @@
word one
word table[256] many
routine main
define main routine
inputs one, many
outputs one, many
trashes a, x, y, n, z