2018-08-05 22:37:40 +00:00
|
|
|
@begin: scope:[] from
|
2018-11-11 20:51:36 +00:00
|
|
|
[0] phi()
|
2019-03-31 15:10:41 +00:00
|
|
|
to:@1
|
|
|
|
@1: scope:[] from @begin
|
2018-11-11 20:51:36 +00:00
|
|
|
[1] phi()
|
|
|
|
[2] call main
|
2018-08-05 22:37:40 +00:00
|
|
|
to:@end
|
2019-03-31 15:10:41 +00:00
|
|
|
@end: scope:[] from @1
|
2018-11-11 20:51:36 +00:00
|
|
|
[3] phi()
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) main()
|
2019-03-31 15:10:41 +00:00
|
|
|
main: scope:[main] from @1
|
2018-08-05 22:37:40 +00:00
|
|
|
asm { sei }
|
2019-09-29 18:57:23 +00:00
|
|
|
[5] *((const byte*) CIA1_INTERRUPT) ← (const byte) CIA_INTERRUPT_CLEAR
|
|
|
|
[6] *((const byte*) VIC_CONTROL) ← *((const byte*) VIC_CONTROL) | (byte) $80
|
|
|
|
[7] *((const byte*) RASTER) ← (byte) 0
|
|
|
|
[8] *((const byte*) IRQ_ENABLE) ← (const byte) IRQ_RASTER
|
|
|
|
[9] *((const void()**) KERNEL_IRQ) ← &interrupt(KERNEL_MIN)(void()) irq()
|
2018-08-05 22:37:40 +00:00
|
|
|
asm { cli }
|
|
|
|
to:main::@return
|
|
|
|
main::@return: scope:[main] from main
|
2018-11-11 20:51:36 +00:00
|
|
|
[11] return
|
2018-08-05 22:37:40 +00:00
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
interrupt(KERNEL_MIN)(void()) irq()
|
2018-08-05 22:37:40 +00:00
|
|
|
irq: scope:[irq] from
|
2019-09-29 18:57:23 +00:00
|
|
|
[12] *((const byte*) BGCOL) ← (const byte) WHITE
|
|
|
|
[13] *((const byte*) BGCOL) ← (const byte) BLACK
|
|
|
|
[14] *((const byte*) IRQ_STATUS) ← (const byte) IRQ_RASTER
|
2018-08-05 22:37:40 +00:00
|
|
|
to:irq::@return
|
|
|
|
irq::@return: scope:[irq] from irq
|
2018-11-11 20:51:36 +00:00
|
|
|
[15] return
|
2018-08-05 22:37:40 +00:00
|
|
|
to:@return
|