1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-01 01:56:02 +00:00
kickc/src/test/ref/irq-raster.cfg

30 lines
1013 B
INI
Raw Normal View History

2018-08-05 22:37:40 +00:00
@begin: scope:[] from
2018-11-11 20:51:36 +00:00
[0] phi()
2018-08-05 22:37:40 +00:00
to:@2
@2: 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
@end: scope:[] from @2
2018-11-11 20:51:36 +00:00
[3] phi()
2018-08-05 22:37:40 +00:00
main: scope:[main] from @2
asm { sei }
2018-11-11 20:51:36 +00:00
[5] *((const byte*) CIA1_INTERRUPT#0) ← (const byte) CIA_INTERRUPT_CLEAR#0
[6] *((const byte*) VIC_CONTROL#0) ← *((const byte*) VIC_CONTROL#0) | (byte/word/signed word/dword/signed dword) 128
[7] *((const byte*) RASTER#0) ← (byte/signed byte/word/signed word/dword/signed dword) 0
[8] *((const byte*) IRQ_ENABLE#0) ← (const byte) IRQ_RASTER#0
[9] *((const void()**) KERNEL_IRQ#0) ← &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
irq: scope:[irq] from
2018-11-11 20:51:36 +00:00
[12] *((const byte*) BGCOL#0) ← (const byte) WHITE#0
[13] *((const byte*) BGCOL#0) ← (const byte) BLACK#0
[14] *((const byte*) IRQ_STATUS#0) ← (const byte) IRQ_RASTER#0
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