mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-06-03 07:29:37 +00:00
95 lines
3.4 KiB
Plaintext
95 lines
3.4 KiB
Plaintext
__constant char * const BITMAP = (char *) 8192
|
|
__constant const char BLUE = 6
|
|
__constant char * const BORDER_COLOR = (char *) 53280
|
|
__constant char * const D011 = (char *) 53265
|
|
__constant char * const SCREEN = (char *) 1024
|
|
__constant const char VICII_BMM = $20
|
|
__constant const char VICII_DEN = $10
|
|
__constant char * const VICII_MEMORY = (char *) 53272
|
|
__constant const char VICII_RSEL = 8
|
|
__constant char bitmask[] = { $80, $40, $20, $10, 8, 4, 2, 1 }
|
|
void circle(int xc , int yc , int r)
|
|
int circle::$10 // zp[2]:10 202.0
|
|
int circle::$5 // zp[2]:8 202.0
|
|
int circle::$6 // zp[2]:8 202.0
|
|
int circle::$7 // zp[2]:10 202.0
|
|
int circle::$9 // zp[2]:6 202.0
|
|
int circle::p
|
|
int circle::p#1 // p zp[2]:10 202.0
|
|
int circle::p#10 // p zp[2]:10 11.653846153846153
|
|
int circle::p#2 // p zp[2]:10 202.0
|
|
int circle::p#3 // p zp[2]:10 57.714285714285715
|
|
int circle::r
|
|
__constant int circle::r#0 = $32 // r
|
|
int circle::x1
|
|
int circle::x1#1 // x1 zp[2]:14 202.0
|
|
int circle::x1#10 // x1 zp[2]:14 36.47222222222223
|
|
int circle::xc
|
|
__constant int circle::xc#0 = $64 // xc
|
|
int circle::y
|
|
int circle::y#1 // y zp[2]:12 60.599999999999994
|
|
int circle::y#10 // y zp[2]:12 42.73076923076923
|
|
int circle::y#13 // y zp[2]:12 67.33333333333333
|
|
int circle::yc
|
|
__constant int circle::yc#0 = $64 // yc
|
|
void fill(char *start , int size , char val)
|
|
char *fill::addr
|
|
char *fill::addr#0 // addr zp[2]:12 11.0
|
|
char *fill::addr#1 // addr zp[2]:12 202.0
|
|
char *fill::addr#2 // addr zp[2]:12 138.33333333333331
|
|
char *fill::end
|
|
char *fill::end#0 // end zp[2]:14 22.4
|
|
int fill::size
|
|
int fill::size#2 // size zp[2]:14 11.0
|
|
char *fill::start
|
|
char fill::val
|
|
char fill::val#4 // reg byte x 16.833333333333332
|
|
void main()
|
|
void plot(int x , int y)
|
|
int plot::$0 // zp[2]:4 2002.0
|
|
char plot::$1 // reg byte a 2002.0
|
|
int plot::$2 // zp[2]:6 1501.5
|
|
int plot::$3 // zp[2]:2 2002.0
|
|
signed char plot::$4 // reg byte a 2002.0
|
|
char plot::$5 // reg byte a 2002.0
|
|
char plot::$6 // reg byte a 2002.0
|
|
int plot::$7 // zp[2]:2 2002.0
|
|
int plot::$8 // zp[2]:2 2002.0
|
|
char *plot::location
|
|
char *plot::location#1 // location zp[2]:4 667.3333333333334
|
|
char *plot::location#2 // location zp[2]:4 400.4
|
|
char *plot::location#3 // location zp[2]:4 1001.0
|
|
int plot::x
|
|
int plot::x#0 // x zp[2]:8 101.0
|
|
int plot::x#1 // x zp[2]:8 101.0
|
|
int plot::x#2 // x zp[2]:8 101.0
|
|
int plot::x#3 // x zp[2]:8 101.0
|
|
int plot::x#4 // x zp[2]:8 101.0
|
|
int plot::x#5 // x zp[2]:8 101.0
|
|
int plot::x#6 // x zp[2]:8 101.0
|
|
int plot::x#7 // x zp[2]:8 101.0
|
|
int plot::x#8 // x zp[2]:8 255.45454545454544
|
|
int plot::y
|
|
int plot::y#0 // y zp[2]:6 202.0
|
|
int plot::y#1 // y zp[2]:6 202.0
|
|
int plot::y#2 // y zp[2]:6 202.0
|
|
int plot::y#3 // y zp[2]:6 202.0
|
|
int plot::y#4 // y zp[2]:6 202.0
|
|
int plot::y#5 // y zp[2]:6 202.0
|
|
int plot::y#6 // y zp[2]:6 202.0
|
|
int plot::y#7 // y zp[2]:6 202.0
|
|
int plot::y#8 // y zp[2]:6 301.5
|
|
|
|
reg byte x [ fill::val#4 ]
|
|
zp[2]:14 [ circle::x1#10 circle::x1#1 fill::size#2 fill::end#0 ]
|
|
zp[2]:12 [ circle::y#13 circle::y#10 circle::y#1 fill::addr#2 fill::addr#0 fill::addr#1 ]
|
|
zp[2]:10 [ circle::p#3 circle::p#10 circle::p#1 circle::p#2 circle::$7 circle::$10 ]
|
|
zp[2]:8 [ circle::$5 circle::$6 plot::x#8 plot::x#5 plot::x#6 plot::x#7 plot::x#0 plot::x#1 plot::x#2 plot::x#3 plot::x#4 ]
|
|
zp[2]:6 [ circle::$9 plot::y#8 plot::y#5 plot::y#6 plot::y#7 plot::y#0 plot::y#1 plot::y#2 plot::y#3 plot::y#4 plot::$2 ]
|
|
zp[2]:4 [ plot::$0 plot::location#1 plot::location#2 plot::location#3 ]
|
|
reg byte a [ plot::$6 ]
|
|
reg byte a [ plot::$1 ]
|
|
zp[2]:2 [ plot::$7 plot::$8 plot::$3 ]
|
|
reg byte a [ plot::$4 ]
|
|
reg byte a [ plot::$5 ]
|