From fa5f32b2d22733f6d8560f548febaf79605c275c Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Tue, 6 Feb 2018 11:36:11 +0000 Subject: [PATCH] Update syntax of demo game. --- eg/proto-game.60p | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/eg/proto-game.60p b/eg/proto-game.60p index 9f4f236..54d8683 100644 --- a/eg/proto-game.60p +++ b/eg/proto-game.60p @@ -47,15 +47,15 @@ typedef routine byte vic_border @ 53280 byte vic_bg @ 53281 -table[256] byte screen1 @ 1024 -table[256] byte screen2 @ 1274 -table[256] byte screen3 @ 1524 -table[256] byte screen4 @ 1774 +byte table[256] screen1 @ 1024 +byte table[256] screen2 @ 1274 +byte table[256] screen3 @ 1524 +byte table[256] screen4 @ 1774 -table[256] byte colormap1 @ 55296 -table[256] byte colormap2 @ 55546 -table[256] byte colormap3 @ 55796 -table[256] byte colormap4 @ 56046 +byte table[256] colormap1 @ 55296 +byte table[256] colormap2 @ 55546 +byte table[256] colormap3 @ 55796 +byte table[256] colormap4 @ 56046 buffer[2048] screen @ 1024 byte joy2 @ $dc00 @@ -66,15 +66,15 @@ byte joy2 @ $dc00 pointer ptr @ 254 -table[256] word actor_pos +word table[256] actor_pos word pos word new_pos -table[256] word actor_delta +word table[256] actor_delta word delta byte button_down : 0 // effectively static-local to check_button -table[32] byte press_fire_msg: "PRESS`FIRE`TO`PLAY" +byte table[32] press_fire_msg: "PRESS`FIRE`TO`PLAY" byte save_x word compare_target