2018-12-25 20:33:07 +00:00
|
|
|
@begin: scope:[] from
|
|
|
|
[0] phi()
|
|
|
|
to:@1
|
|
|
|
@1: scope:[] from @begin
|
2020-03-29 19:00:25 +00:00
|
|
|
[1] (volatile byte) irq_raster_next ← (byte) 0
|
2018-12-25 20:33:07 +00:00
|
|
|
to:@2
|
|
|
|
@2: scope:[] from @1
|
|
|
|
[2] phi()
|
|
|
|
[3] call main
|
|
|
|
to:@end
|
|
|
|
@end: scope:[] from @2
|
|
|
|
[4] phi()
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) main()
|
2018-12-25 20:33:07 +00:00
|
|
|
main: scope:[main] from @2
|
2020-03-29 19:00:25 +00:00
|
|
|
[5] *((const nomodify void()**) KERNEL_IRQ) ← &interrupt(HARDWARE_CLOBBER)(void()) irq()
|
2018-12-25 20:33:07 +00:00
|
|
|
to:main::@return
|
|
|
|
main::@return: scope:[main] from main
|
|
|
|
[6] return
|
|
|
|
to:@return
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
interrupt(HARDWARE_CLOBBER)(void()) irq()
|
2018-12-25 20:33:07 +00:00
|
|
|
irq: scope:[irq] from
|
2020-05-02 09:38:51 +00:00
|
|
|
[7] *((const byte*) BORDER_COLOR) ← (const byte) DARK_GREY
|
2020-03-29 19:00:25 +00:00
|
|
|
[8] (volatile byte) irq_raster_next ← (volatile byte) irq_raster_next + (byte) $15
|
|
|
|
[9] (byte) irq::raster_next#0 ← (volatile byte) irq_raster_next
|
2019-05-30 20:29:04 +00:00
|
|
|
[10] (byte~) irq::$0 ← (byte) irq::raster_next#0 & (byte) 7
|
|
|
|
[11] if((byte~) irq::$0!=(byte) 0) goto irq::@1
|
2018-12-25 20:33:07 +00:00
|
|
|
to:irq::@2
|
|
|
|
irq::@2: scope:[irq] from irq
|
2019-05-30 20:29:04 +00:00
|
|
|
[12] (byte) irq::raster_next#1 ← (byte) irq::raster_next#0 - (byte) 1
|
2018-12-25 20:33:07 +00:00
|
|
|
to:irq::@1
|
|
|
|
irq::@1: scope:[irq] from irq irq::@2
|
|
|
|
[13] (byte) irq::raster_next#2 ← phi( irq/(byte) irq::raster_next#0 irq::@2/(byte) irq::raster_next#1 )
|
2019-09-29 20:36:00 +00:00
|
|
|
[14] *((const byte*) RASTER) ← (byte) irq::raster_next#2
|
2020-05-02 09:38:51 +00:00
|
|
|
[15] *((const byte*) BORDER_COLOR) ← (const byte) BLACK
|
2018-12-25 20:33:07 +00:00
|
|
|
to:irq::@return
|
|
|
|
irq::@return: scope:[irq] from irq::@1
|
|
|
|
[16] return
|
|
|
|
to:@return
|