mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-16 21:07:56 +00:00
181 lines
6.1 KiB
Plaintext
181 lines
6.1 KiB
Plaintext
(label) @1
|
|
(label) @begin
|
|
(label) @end
|
|
(const nomodify word) COUNT = (word) $4000
|
|
(byte) MOS6526_CIA::INTERRUPT
|
|
(byte) MOS6526_CIA::PORT_A
|
|
(byte) MOS6526_CIA::PORT_A_DDR
|
|
(byte) MOS6526_CIA::PORT_B
|
|
(byte) MOS6526_CIA::PORT_B_DDR
|
|
(byte) MOS6526_CIA::SERIAL_DATA
|
|
(word) MOS6526_CIA::TIMER_A
|
|
(byte) MOS6526_CIA::TIMER_A_CONTROL
|
|
(word) MOS6526_CIA::TIMER_B
|
|
(byte) MOS6526_CIA::TIMER_B_CONTROL
|
|
(byte) MOS6526_CIA::TOD_10THS
|
|
(byte) MOS6526_CIA::TOD_HOURS
|
|
(byte) MOS6526_CIA::TOD_MIN
|
|
(byte) MOS6526_CIA::TOD_SEC
|
|
(byte) MOS6569_VICII::BG_COLOR
|
|
(byte) MOS6569_VICII::BG_COLOR1
|
|
(byte) MOS6569_VICII::BG_COLOR2
|
|
(byte) MOS6569_VICII::BG_COLOR3
|
|
(byte) MOS6569_VICII::BORDER_COLOR
|
|
(byte) MOS6569_VICII::CONTROL1
|
|
(byte) MOS6569_VICII::CONTROL2
|
|
(byte) MOS6569_VICII::IRQ_ENABLE
|
|
(byte) MOS6569_VICII::IRQ_STATUS
|
|
(byte) MOS6569_VICII::LIGHTPEN_X
|
|
(byte) MOS6569_VICII::LIGHTPEN_Y
|
|
(byte) MOS6569_VICII::MEMORY
|
|
(byte) MOS6569_VICII::RASTER
|
|
(byte) MOS6569_VICII::SPRITE0_COLOR
|
|
(byte) MOS6569_VICII::SPRITE0_X
|
|
(byte) MOS6569_VICII::SPRITE0_Y
|
|
(byte) MOS6569_VICII::SPRITE1_COLOR
|
|
(byte) MOS6569_VICII::SPRITE1_X
|
|
(byte) MOS6569_VICII::SPRITE1_Y
|
|
(byte) MOS6569_VICII::SPRITE2_COLOR
|
|
(byte) MOS6569_VICII::SPRITE2_X
|
|
(byte) MOS6569_VICII::SPRITE2_Y
|
|
(byte) MOS6569_VICII::SPRITE3_COLOR
|
|
(byte) MOS6569_VICII::SPRITE3_X
|
|
(byte) MOS6569_VICII::SPRITE3_Y
|
|
(byte) MOS6569_VICII::SPRITE4_COLOR
|
|
(byte) MOS6569_VICII::SPRITE4_X
|
|
(byte) MOS6569_VICII::SPRITE4_Y
|
|
(byte) MOS6569_VICII::SPRITE5_COLOR
|
|
(byte) MOS6569_VICII::SPRITE5_X
|
|
(byte) MOS6569_VICII::SPRITE5_Y
|
|
(byte) MOS6569_VICII::SPRITE6_COLOR
|
|
(byte) MOS6569_VICII::SPRITE6_X
|
|
(byte) MOS6569_VICII::SPRITE6_Y
|
|
(byte) MOS6569_VICII::SPRITE7_COLOR
|
|
(byte) MOS6569_VICII::SPRITE7_X
|
|
(byte) MOS6569_VICII::SPRITE7_Y
|
|
(byte) MOS6569_VICII::SPRITES_BG_COLLISION
|
|
(byte) MOS6569_VICII::SPRITES_COLLISION
|
|
(byte) MOS6569_VICII::SPRITES_ENABLE
|
|
(byte) MOS6569_VICII::SPRITES_EXPAND_X
|
|
(byte) MOS6569_VICII::SPRITES_EXPAND_Y
|
|
(byte) MOS6569_VICII::SPRITES_MC
|
|
(byte) MOS6569_VICII::SPRITES_MCOLOR1
|
|
(byte) MOS6569_VICII::SPRITES_MCOLOR2
|
|
(byte) MOS6569_VICII::SPRITES_PRIORITY
|
|
(byte) MOS6569_VICII::SPRITES_XMSB
|
|
(byte) MOS6581_SID::CH1_ATTACK_DECAY
|
|
(byte) MOS6581_SID::CH1_CONTROL
|
|
(word) MOS6581_SID::CH1_FREQ
|
|
(word) MOS6581_SID::CH1_PULSE_WIDTH
|
|
(byte) MOS6581_SID::CH1_SUSTAIN_RELEASE
|
|
(byte) MOS6581_SID::CH2_ATTACK_DECAY
|
|
(byte) MOS6581_SID::CH2_CONTROL
|
|
(word) MOS6581_SID::CH2_FREQ
|
|
(word) MOS6581_SID::CH2_PULSE_WIDTH
|
|
(byte) MOS6581_SID::CH2_SUSTAIN_RELEASE
|
|
(byte) MOS6581_SID::CH3_ATTACK_DECAY
|
|
(byte) MOS6581_SID::CH3_CONTROL
|
|
(byte) MOS6581_SID::CH3_ENV
|
|
(word) MOS6581_SID::CH3_FREQ
|
|
(byte) MOS6581_SID::CH3_OSC
|
|
(word) MOS6581_SID::CH3_PULSE_WIDTH
|
|
(byte) MOS6581_SID::CH3_SUSTAIN_RELEASE
|
|
(byte) MOS6581_SID::FILTER_CUTOFF_HIGH
|
|
(byte) MOS6581_SID::FILTER_CUTOFF_LOW
|
|
(byte) MOS6581_SID::FILTER_SETUP
|
|
(byte) MOS6581_SID::POT_X
|
|
(byte) MOS6581_SID::POT_Y
|
|
(byte) MOS6581_SID::VOLUME_FILTER_MODE
|
|
(const byte) RADIX::BINARY = (number) 2
|
|
(const byte) RADIX::DECIMAL = (number) $a
|
|
(const byte) RADIX::HEXADECIMAL = (number) $10
|
|
(const byte) RADIX::OCTAL = (number) 8
|
|
(const nomodify byte*) SCREEN = (byte*) 1024
|
|
(const nomodify byte) SQRT_COUNT = (byte) $80
|
|
(void()) main()
|
|
(byte*~) main::$16 zp[2]:12 202.0
|
|
(label) main::@1
|
|
(label) main::@10
|
|
(label) main::@11
|
|
(label) main::@12
|
|
(label) main::@2
|
|
(label) main::@3
|
|
(label) main::@4
|
|
(label) main::@5
|
|
(label) main::@6
|
|
(label) main::@7
|
|
(label) main::@8
|
|
(label) main::@9
|
|
(word) main::i
|
|
(word) main::i#10 i_1 zp[2]:4 56.11111111111111
|
|
(word) main::i#12 i zp[2]:10 240.6
|
|
(word) main::i#2 i zp[2]:10 101.0
|
|
(word) main::i#3 i_1 zp[2]:4 202.0
|
|
(word) main::j
|
|
(word) main::j#0 j zp[2]:6 151.5
|
|
(word) main::j#1 j zp[2]:6 2002.0
|
|
(word) main::j#2 j zp[2]:6 776.0
|
|
(byte*) main::s
|
|
(byte*) main::s#0 s zp[2]:8 202.0
|
|
(byte*) main::s#1 s zp[2]:8 1001.0
|
|
(byte*) main::s#2 s zp[2]:8 1034.6666666666667
|
|
(byte*) main::sieve_i
|
|
(byte*) main::sieve_i#1 sieve_i zp[2]:2 202.0
|
|
(byte*) main::sieve_i#2 sieve_i zp[2]:2 27.545454545454547
|
|
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
|
|
(label) memset::@1
|
|
(label) memset::@2
|
|
(label) memset::@return
|
|
(byte) memset::c
|
|
(const byte) memset::c#0 c = (byte) 0
|
|
(byte*) memset::dst
|
|
(byte*) memset::dst#1 dst zp[2]:12 2002.0
|
|
(byte*) memset::dst#2 dst zp[2]:12 1334.6666666666667
|
|
(byte*) memset::end
|
|
(const byte*) memset::end#0 end = (byte*)(const void*) memset::str#0+(const nomodify word) COUNT
|
|
(word) memset::num
|
|
(void*) memset::return
|
|
(void*) memset::str
|
|
(const void*) memset::str#0 str = (void*)(const byte*) sieve
|
|
(void()) print_char((byte) print_char::ch)
|
|
(label) print_char::@return
|
|
(byte) print_char::ch
|
|
(byte) print_char::ch#0 reg byte a 20002.0
|
|
(byte) print_char::ch#1 reg byte a 20002.0
|
|
(byte) print_char::ch#3 reg byte a 120003.0
|
|
(byte*) print_char_cursor
|
|
(byte*) print_char_cursor#19 print_char_cursor zp[2]:10 110052.5
|
|
(byte*) print_char_cursor#20 print_char_cursor zp[2]:10 7943.214285714286
|
|
(byte*) print_char_cursor#26 print_char_cursor zp[2]:10 4000.9999999999995
|
|
(byte*) print_char_cursor#27 print_char_cursor zp[2]:10 200.5
|
|
(byte*) print_char_cursor#33 print_char_cursor zp[2]:10 151.5
|
|
(const to_nomodify byte*) print_hextab[] = (byte*) "0123456789abcdef"z
|
|
(byte*) print_line_cursor
|
|
(byte*) print_screen
|
|
(void()) print_uchar((byte) print_uchar::b)
|
|
(byte~) print_uchar::$0 reg byte a 20002.0
|
|
(byte~) print_uchar::$2 reg byte x 20002.0
|
|
(label) print_uchar::@1
|
|
(label) print_uchar::@return
|
|
(byte) print_uchar::b
|
|
(byte) print_uchar::b#0 reg byte x 2002.0
|
|
(byte) print_uchar::b#1 reg byte x 2002.0
|
|
(byte) print_uchar::b#2 reg byte x 5501.0
|
|
(void()) print_uint((word) print_uint::w)
|
|
(label) print_uint::@1
|
|
(label) print_uint::@return
|
|
(word) print_uint::w
|
|
(word) print_uint::w#0 w zp[2]:4 701.0
|
|
(const byte*) sieve = (byte*) 4096
|
|
|
|
zp[2]:2 [ main::sieve_i#2 main::sieve_i#1 ]
|
|
zp[2]:4 [ main::i#10 main::i#3 print_uint::w#0 ]
|
|
zp[2]:6 [ main::j#2 main::j#1 main::j#0 ]
|
|
zp[2]:8 [ main::s#2 main::s#1 main::s#0 ]
|
|
reg byte a [ print_char::ch#3 print_char::ch#0 print_char::ch#1 ]
|
|
zp[2]:10 [ print_char_cursor#19 print_char_cursor#27 print_char_cursor#33 print_char_cursor#20 print_char_cursor#26 main::i#12 main::i#2 ]
|
|
reg byte x [ print_uchar::b#2 print_uchar::b#0 print_uchar::b#1 ]
|
|
zp[2]:12 [ main::$16 memset::dst#2 memset::dst#1 ]
|
|
reg byte a [ print_uchar::$0 ]
|
|
reg byte x [ print_uchar::$2 ]
|