1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-01-02 05:30:53 +00:00

fixed test

This commit is contained in:
jespergravgaard 2018-12-30 03:20:58 +01:00
parent e91ae1b60e
commit 4432812b06
2 changed files with 14 additions and 0 deletions

View File

@ -106,6 +106,8 @@ CONTROL FLOW GRAPH SSA
(byte) render_screen_show#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
(byte) render_screen_showing#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
(dword) score_bcd#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
(word) lines_bcd#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
(byte) level_bcd#0 ← (byte/signed byte/word/signed word/dword/signed dword) 1
kickasm(location (byte*) PLAYFIELD_SPRITES#0) {{ .var sprites = LoadPicture("playfield-sprites.png", List().add($010101, $000000))
.for(var sy=0;sy<10;sy++) {
.for(var sx=0;sx<3;sx++) {
@ -699,6 +701,10 @@ SYMBOL TABLE SSA
(byte) irq_sprite_ypos#7
(byte) irq_sprite_ypos#8
(byte) irq_sprite_ypos#9
(byte) level_bcd
(byte) level_bcd#0
(word) lines_bcd
(word) lines_bcd#0
(void()) main()
(byte~) main::$1
(label) main::@1
@ -1054,6 +1060,8 @@ Constant (const byte) PLAYFIELD_COLS#0 = 10
Constant (const byte) render_screen_render#0 = 64
Constant (const byte) render_screen_show#0 = 0
Constant (const dword) score_bcd#0 = 0
Constant (const word) lines_bcd#0 = 0
Constant (const byte) level_bcd#0 = 1
Constant (const byte/signed byte/word/signed word/dword/signed dword) sprites_init::$0 = 15*8
Constant (const byte) sprites_init::s#0 = 0
Constant (const byte) IRQ_RASTER_FIRST#0 = 49
@ -1479,6 +1487,8 @@ VARIABLE REGISTER WEIGHTS
(byte) irq_sprite_ypos#0 0.7083333333333334
(byte) irq_sprite_ypos#1 20.0
(byte) irq_sprite_ypos#2 20.0
(byte) level_bcd
(word) lines_bcd
(void()) main()
(word~) main::toD0181_$0
(word~) main::toD0181_$1
@ -2880,6 +2890,8 @@ FINAL SYMBOL TABLE
(byte) irq_sprite_ypos#0 irq_sprite_ypos zp ZP_BYTE:5 0.7083333333333334
(byte) irq_sprite_ypos#1 irq_sprite_ypos zp ZP_BYTE:5 20.0
(byte) irq_sprite_ypos#2 irq_sprite_ypos zp ZP_BYTE:5 20.0
(byte) level_bcd
(word) lines_bcd
(void()) main()
(label) main::@2
(label) main::@8

View File

@ -148,6 +148,8 @@
(byte) irq_sprite_ypos#0 irq_sprite_ypos zp ZP_BYTE:5 0.7083333333333334
(byte) irq_sprite_ypos#1 irq_sprite_ypos zp ZP_BYTE:5 20.0
(byte) irq_sprite_ypos#2 irq_sprite_ypos zp ZP_BYTE:5 20.0
(byte) level_bcd
(word) lines_bcd
(void()) main()
(label) main::@2
(label) main::@8