Skip to content

Commit

Permalink
[GRAPH] FB_set_8_pixels(_opaque) did not handle VRAM addresses > 0x0f…
Browse files Browse the repository at this point in the history
  • Loading branch information
mooinglemur authored May 27, 2024
1 parent b311737 commit 1e4ca8f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions graphics/drivers/framebuffer.s
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,10 @@ FB_set_8_pixels:
sec
rol
bcs @2
inc VERA_ADDR_L
bne @1
inc VERA_ADDR_M
bit VERA_DATA0
@1: asl
bcs @2
inc VERA_ADDR_L
bne @1
inc VERA_ADDR_M
bit VERA_DATA0
bra @1
@2: beq @3
stx VERA_DATA0
Expand Down Expand Up @@ -331,9 +327,7 @@ FB_set_8_pixels_opaque:
@2: stx VERA_DATA0
bra @1
@3: asl r0L
inc VERA_ADDR_L
bne @1
inc VERA_ADDR_M
bit VERA_DATA0
bra @1
@4: rts

Expand Down

0 comments on commit 1e4ca8f

Please sign in to comment.