mirror of
https://github.com/irmen/prog8.git
synced 2024-11-25 19:31:36 +00:00
cx16 fix irq statusbit handling and kefrenbars example
This commit is contained in:
parent
3922691b3c
commit
6e9025ebf2
@ -718,8 +718,7 @@ _modified jsr $ffff ; modified
|
||||
lda _use_kernal
|
||||
bne +
|
||||
; end irq processing - don't use kernal's irq handling
|
||||
lda cx16.VERA_ISR
|
||||
ora #1
|
||||
lda #1
|
||||
sta cx16.VERA_ISR ; clear Vera Vsync irq status
|
||||
ply
|
||||
plx
|
||||
|
@ -21,7 +21,6 @@ main {
|
||||
$312, $211, $100
|
||||
]
|
||||
|
||||
; Not yet implemented in ROM: cx16.FB_set_palette(&colors, 0, len(colors)*3)
|
||||
palette.set_rgb(&colors, len(colors))
|
||||
gfx2.screen_mode(4) ; lores 256 colors
|
||||
cx16.VERA_DC_VSCALE = 0 ; display trick spoiler.......: stretch 1 line of display all the way to the bottom
|
||||
@ -35,7 +34,7 @@ main {
|
||||
|
||||
|
||||
irq {
|
||||
const ubyte BAR_Y_OFFSET = 5
|
||||
const ubyte BAR_Y_OFFSET = 6
|
||||
uword next_irq_line = 0
|
||||
ubyte anim1 = 0
|
||||
ubyte av1 = 0
|
||||
|
Loading…
Reference in New Issue
Block a user