mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-08-07 22:25:13 +00:00
222 lines
9.0 KiB
Plaintext
222 lines
9.0 KiB
Plaintext
(label) @6
|
|
(label) @8
|
|
(label) @9
|
|
(label) @begin
|
|
(label) @end
|
|
(byte*) BGCOL
|
|
(byte*) BGCOL1
|
|
(byte*) BGCOL2
|
|
(byte*) BGCOL3
|
|
(byte*) BGCOL4
|
|
(byte) BLACK
|
|
(const byte) BLACK#0 BLACK = (byte/signed byte/word/signed word/dword/signed dword) 0
|
|
(byte) BLUE
|
|
(byte*) BORDERCOL
|
|
(const byte*) BORDERCOL#0 BORDERCOL = ((byte*))(word/dword/signed dword) 53280
|
|
(byte) BROWN
|
|
(byte*) CHARGEN
|
|
(byte*) CIA1_INTERRUPT
|
|
(const byte*) CIA1_INTERRUPT#0 CIA1_INTERRUPT = ((byte*))(word/dword/signed dword) 56333
|
|
(byte*) CIA1_PORT_A
|
|
(byte*) CIA1_PORT_A_DDR
|
|
(byte*) CIA1_PORT_B
|
|
(byte*) CIA1_PORT_B_DDR
|
|
(byte*) CIA2_INTERRUPT
|
|
(byte*) CIA2_PORT_A
|
|
(const byte*) CIA2_PORT_A#0 CIA2_PORT_A = ((byte*))(word/dword/signed dword) 56576
|
|
(byte*) CIA2_PORT_A_DDR
|
|
(const byte*) CIA2_PORT_A_DDR#0 CIA2_PORT_A_DDR = ((byte*))(word/dword/signed dword) 56578
|
|
(byte*) CIA2_PORT_B
|
|
(byte*) CIA2_PORT_B_DDR
|
|
(byte) CIA_INTERRUPT_CLEAR
|
|
(const byte) CIA_INTERRUPT_CLEAR#0 CIA_INTERRUPT_CLEAR = (byte/signed byte/word/signed word/dword/signed dword) 127
|
|
(byte*) COLS
|
|
(byte) CYAN
|
|
(byte*) D011
|
|
(byte*) D016
|
|
(byte*) D018
|
|
(const byte*) D018#0 D018 = ((byte*))(word/dword/signed dword) 53272
|
|
(byte) DARK_GREY
|
|
(const byte) DARK_GREY#0 DARK_GREY = (byte/signed byte/word/signed word/dword/signed dword) 11
|
|
(byte) GREEN
|
|
(byte) GREY
|
|
(void()**) HARDWARE_IRQ
|
|
(byte) IRQ_COLLISION_BG
|
|
(byte) IRQ_COLLISION_SPRITE
|
|
(byte*) IRQ_ENABLE
|
|
(const byte*) IRQ_ENABLE#0 IRQ_ENABLE = ((byte*))(word/dword/signed dword) 53274
|
|
(byte) IRQ_LIGHTPEN
|
|
(byte) IRQ_RASTER
|
|
(const byte) IRQ_RASTER#0 IRQ_RASTER = (byte/signed byte/word/signed word/dword/signed dword) 1
|
|
(byte) IRQ_RASTER_FIRST
|
|
(const byte) IRQ_RASTER_FIRST#0 IRQ_RASTER_FIRST = (byte/signed byte/word/signed word/dword/signed dword) 48
|
|
(byte*) IRQ_STATUS
|
|
(const byte*) IRQ_STATUS#0 IRQ_STATUS = ((byte*))(word/dword/signed dword) 53273
|
|
(void()**) KERNEL_IRQ
|
|
(const void()**) KERNEL_IRQ#0 KERNEL_IRQ = ((void()**))(word/signed word/dword/signed dword) 788
|
|
(byte*) LIGHTPEN_X
|
|
(byte*) LIGHTPEN_Y
|
|
(byte) LIGHT_BLUE
|
|
(byte) LIGHT_GREEN
|
|
(byte) LIGHT_GREY
|
|
(byte) ORANGE
|
|
(byte) PINK
|
|
(byte*) PLAYFIELD_CHARSET
|
|
(const byte*) PLAYFIELD_CHARSET#0 PLAYFIELD_CHARSET = ((byte*))(word/signed word/dword/signed dword) 4096
|
|
(byte*) PLAYFIELD_SCREEN
|
|
(const byte*) PLAYFIELD_SCREEN#0 PLAYFIELD_SCREEN = ((byte*))(word/signed word/dword/signed dword) 1024
|
|
(byte*) PLAYFIELD_SPRITES
|
|
(const byte*) PLAYFIELD_SPRITES#0 PLAYFIELD_SPRITES = ((byte*))(word/signed word/dword/signed dword) 8192
|
|
(byte*) PLAYFIELD_SPRITE_PTRS
|
|
(const byte*) PLAYFIELD_SPRITE_PTRS#0 PLAYFIELD_SPRITE_PTRS = (const byte*) PLAYFIELD_SCREEN#0+(const word) SPRITE_PTRS#0
|
|
(byte*) PROCPORT
|
|
(byte) PROCPORT_BASIC_KERNEL_IO
|
|
(byte*) PROCPORT_DDR
|
|
(byte) PROCPORT_DDR_MEMORY_MASK
|
|
(byte) PROCPORT_KERNEL_IO
|
|
(byte) PROCPORT_RAM_ALL
|
|
(byte) PROCPORT_RAM_CHARROM
|
|
(byte) PROCPORT_RAM_IO
|
|
(byte) PURPLE
|
|
(byte*) RASTER
|
|
(const byte*) RASTER#0 RASTER = ((byte*))(word/dword/signed dword) 53266
|
|
(byte) RED
|
|
(byte*) SPRITES_COLS
|
|
(const byte*) SPRITES_COLS#0 SPRITES_COLS = ((byte*))(word/dword/signed dword) 53287
|
|
(byte*) SPRITES_ENABLE
|
|
(const byte*) SPRITES_ENABLE#0 SPRITES_ENABLE = ((byte*))(word/dword/signed dword) 53269
|
|
(byte*) SPRITES_EXPAND_X
|
|
(const byte*) SPRITES_EXPAND_X#0 SPRITES_EXPAND_X = ((byte*))(word/dword/signed dword) 53277
|
|
(byte*) SPRITES_EXPAND_Y
|
|
(const byte*) SPRITES_EXPAND_Y#0 SPRITES_EXPAND_Y = ((byte*))(word/dword/signed dword) 53271
|
|
(byte*) SPRITES_MC
|
|
(const byte*) SPRITES_MC#0 SPRITES_MC = ((byte*))(word/dword/signed dword) 53276
|
|
(byte*) SPRITES_MC1
|
|
(byte*) SPRITES_MC2
|
|
(byte*) SPRITES_PRIORITY
|
|
(byte*) SPRITES_XMSB
|
|
(byte*) SPRITES_XPOS
|
|
(const byte*) SPRITES_XPOS#0 SPRITES_XPOS = ((byte*))(word/dword/signed dword) 53248
|
|
(byte*) SPRITES_YPOS
|
|
(const byte*) SPRITES_YPOS#0 SPRITES_YPOS = ((byte*))(word/dword/signed dword) 53249
|
|
(word) SPRITE_PTRS
|
|
(const word) SPRITE_PTRS#0 SPRITE_PTRS = (word/signed word/dword/signed dword) 1016
|
|
(byte) VIC_BMM
|
|
(byte*) VIC_CONTROL
|
|
(const byte*) VIC_CONTROL#0 VIC_CONTROL = ((byte*))(word/dword/signed dword) 53265
|
|
(byte*) VIC_CONTROL2
|
|
(byte) VIC_CSEL
|
|
(byte) VIC_DEN
|
|
(byte) VIC_ECM
|
|
(byte) VIC_MCM
|
|
(byte*) VIC_MEMORY
|
|
(byte) VIC_RSEL
|
|
(byte) VIC_RST8
|
|
(byte) WHITE
|
|
(byte) YELLOW
|
|
(void()) init_irq()
|
|
(label) init_irq::@1
|
|
(label) init_irq::@return
|
|
(label) init_irq::toSpritePtr2
|
|
(word~) init_irq::toSpritePtr2_$0
|
|
(word~) init_irq::toSpritePtr2_$1
|
|
(byte~) init_irq::toSpritePtr2_$2
|
|
(byte) init_irq::toSpritePtr2_return
|
|
(const byte) init_irq::toSpritePtr2_return#0 toSpritePtr2_return = ((byte))((word))(const byte*) PLAYFIELD_SPRITES#0>>(byte/signed byte/word/signed word/dword/signed dword) 6
|
|
(byte*) init_irq::toSpritePtr2_sprite
|
|
(void()) init_sprites()
|
|
(label) init_sprites::@1
|
|
(label) init_sprites::@4
|
|
(label) init_sprites::@return
|
|
(byte) init_sprites::s
|
|
(byte) init_sprites::s#1 reg byte x 16.5
|
|
(byte) init_sprites::s#2 reg byte x 8.8
|
|
(byte) init_sprites::s2
|
|
(byte) init_sprites::s2#0 reg byte a 22.0
|
|
(label) init_sprites::toD0181
|
|
(word~) init_sprites::toD0181_$0
|
|
(word~) init_sprites::toD0181_$1
|
|
(word~) init_sprites::toD0181_$2
|
|
(byte~) init_sprites::toD0181_$3
|
|
(word~) init_sprites::toD0181_$4
|
|
(byte~) init_sprites::toD0181_$5
|
|
(byte~) init_sprites::toD0181_$6
|
|
(byte~) init_sprites::toD0181_$7
|
|
(byte~) init_sprites::toD0181_$8
|
|
(byte*) init_sprites::toD0181_gfx
|
|
(byte) init_sprites::toD0181_return
|
|
(const byte) init_sprites::toD0181_return#0 toD0181_return = >((word))(const byte*) PLAYFIELD_SCREEN#0&(word/signed word/dword/signed dword) 16383<<(byte/signed byte/word/signed word/dword/signed dword) 2|>((word))(const byte*) PLAYFIELD_CHARSET#0>>(byte/signed byte/word/signed word/dword/signed dword) 2&(byte/signed byte/word/signed word/dword/signed dword) 15
|
|
(byte*) init_sprites::toD0181_screen
|
|
(label) init_sprites::vicSelectGfxBank1
|
|
(byte~) init_sprites::vicSelectGfxBank1_$0
|
|
(label) init_sprites::vicSelectGfxBank1_@1
|
|
(byte*) init_sprites::vicSelectGfxBank1_gfx
|
|
(label) init_sprites::vicSelectGfxBank1_toDd001
|
|
(word~) init_sprites::vicSelectGfxBank1_toDd001_$0
|
|
(byte~) init_sprites::vicSelectGfxBank1_toDd001_$1
|
|
(byte~) init_sprites::vicSelectGfxBank1_toDd001_$2
|
|
(byte/word/dword~) init_sprites::vicSelectGfxBank1_toDd001_$3
|
|
(byte*) init_sprites::vicSelectGfxBank1_toDd001_gfx
|
|
(byte) init_sprites::vicSelectGfxBank1_toDd001_return
|
|
(const byte) init_sprites::vicSelectGfxBank1_toDd001_return#0 vicSelectGfxBank1_toDd001_return = (byte/signed byte/word/signed word/dword/signed dword) 3^>((word))(const byte*) PLAYFIELD_SCREEN#0>>(byte/signed byte/word/signed word/dword/signed dword) 6
|
|
(byte) init_sprites::xpos
|
|
(byte) init_sprites::xpos#1 xpos zp ZP_BYTE:2 7.333333333333333
|
|
(byte) init_sprites::xpos#2 xpos zp ZP_BYTE:2 8.25
|
|
interrupt(KERNEL_MIN)(void()) irq()
|
|
(label) irq::@1
|
|
(label) irq::@2
|
|
(label) irq::@3
|
|
(label) irq::@4
|
|
(label) irq::@5
|
|
(label) irq::@7
|
|
(label) irq::@return
|
|
(byte) irq::ptr
|
|
(byte) irq::ptr#0 reg byte x 3.0
|
|
(byte) irq::ptr#1 reg byte x 2.6666666666666665
|
|
(byte) irq::ptr#2 reg byte x 4.0
|
|
(label) irq::toSpritePtr2
|
|
(word~) irq::toSpritePtr2_$0
|
|
(word~) irq::toSpritePtr2_$1
|
|
(byte~) irq::toSpritePtr2_$2
|
|
(byte) irq::toSpritePtr2_return
|
|
(const byte) irq::toSpritePtr2_return#0 toSpritePtr2_return = ((byte))((word))(const byte*) PLAYFIELD_SPRITES#0>>(byte/signed byte/word/signed word/dword/signed dword) 6
|
|
(byte*) irq::toSpritePtr2_sprite
|
|
(byte) irq_cnt
|
|
(byte) irq_cnt#11 irq_cnt zp ZP_BYTE:2 20.0
|
|
(byte) irq_cnt#19 irq_cnt zp ZP_BYTE:2 0.3076923076923077
|
|
(byte) irq_cnt#23 irq_cnt zp ZP_BYTE:2 4.0
|
|
(byte) irq_cnt#24 irq_cnt zp ZP_BYTE:2 20.0
|
|
(byte) irq_raster_next
|
|
(byte) irq_raster_next#11 irq_raster_next zp ZP_BYTE:2 20.0
|
|
(byte) irq_raster_next#13 irq_raster_next zp ZP_BYTE:2 6.0
|
|
(byte) irq_raster_next#2 irq_raster_next zp ZP_BYTE:2 0.26666666666666666
|
|
(byte) irq_raster_next#20 irq_raster_next zp ZP_BYTE:2 1.0
|
|
(byte) irq_raster_next#6 irq_raster_next zp ZP_BYTE:2 1.3333333333333333
|
|
(byte) irq_sprite_ptr
|
|
(byte) irq_sprite_ptr#2 irq_sprite_ptr zp ZP_BYTE:2 0.3529411764705882
|
|
(byte) irq_sprite_ptr#3 irq_sprite_ptr zp ZP_BYTE:2 20.0
|
|
(byte) irq_sprite_ptr#5 irq_sprite_ptr zp ZP_BYTE:2 20.0
|
|
(byte) irq_sprite_ptr#6 irq_sprite_ptr zp ZP_BYTE:2 20.0
|
|
(byte) irq_sprite_ypos
|
|
(byte) irq_sprite_ypos#11 irq_sprite_ypos zp ZP_BYTE:2 20.0
|
|
(byte) irq_sprite_ypos#2 irq_sprite_ypos zp ZP_BYTE:2 1.4375
|
|
(byte) irq_sprite_ypos#26 irq_sprite_ypos zp ZP_BYTE:2 20.0
|
|
(byte) irq_sprite_ypos#6 irq_sprite_ypos zp ZP_BYTE:2 20.0
|
|
(void()) main()
|
|
(label) main::@2
|
|
(label) main::@7
|
|
(label) toSpritePtr1
|
|
(word~) toSpritePtr1_$0
|
|
(word~) toSpritePtr1_$1
|
|
(byte~) toSpritePtr1_$2
|
|
(byte) toSpritePtr1_return
|
|
(const byte) toSpritePtr1_return#0 toSpritePtr1_return = ((byte))((word))(const byte*) PLAYFIELD_SPRITES#0>>(byte/signed byte/word/signed word/dword/signed dword) 6
|
|
(byte*) toSpritePtr1_sprite
|
|
|
|
reg byte x [ init_sprites::s#2 init_sprites::s#1 ]
|
|
zp ZP_BYTE:2 [ init_sprites::xpos#2 init_sprites::xpos#1 irq_raster_next#13 irq_raster_next#6 irq_raster_next#20 irq_raster_next#2 irq_sprite_ypos#2 irq_sprite_ypos#6 irq_sprite_ptr#2 irq_sprite_ptr#6 irq_cnt#19 irq_cnt#23 irq_raster_next#11 irq_sprite_ypos#11 irq_sprite_ptr#3 irq_cnt#11 irq_cnt#24 irq_sprite_ypos#26 irq_sprite_ptr#5 ]
|
|
reg byte a [ init_sprites::s2#0 ]
|
|
reg byte x [ irq::ptr#0 ]
|
|
reg byte x [ irq::ptr#1 ]
|
|
reg byte x [ irq::ptr#2 ]
|