projects
/
mdlife
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6513a32
)
fix vdp_setcolor
author
John Tsiombikas
<nuclear@member.fsf.org>
Thu, 14 Dec 2023 19:36:45 +0000
(21:36 +0200)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Thu, 14 Dec 2023 19:36:45 +0000
(21:36 +0200)
src/vdp.S
patch
|
blob
|
history
diff --git
a/src/vdp.S
b/src/vdp.S
index
b794d21
..
0baa4d4
100644
(file)
--- a/
src/vdp.S
+++ b/
src/vdp.S
@@
-29,7
+29,7
@@
setup_addr:
.globl vdp_setcolor
vdp_setcolor:
move.l 4(%sp), %d0 | palette number
.globl vdp_setcolor
vdp_setcolor:
move.l 4(%sp), %d0 | palette number
- lsl.l #4, %d0
+ lsl.l #5, %d0
add.l 8(%sp), %d0 | add index
move.l #VDP_CRAM, %d1
bsr setup_addr
add.l 8(%sp), %d0 | add index
move.l #VDP_CRAM, %d1
bsr setup_addr