Skip to content

Commit

Permalink
Version 1.24
Browse files Browse the repository at this point in the history
CC-DMA fixes.
  • Loading branch information
VitorVilela7 committed Aug 4, 2018
1 parent b01cd99 commit cb804a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
SA-1 Pack v1.24:
- Fixed Character Conversion DMA randomly freezing the game when SA-1 is unable to receive IRQs.

SA-1 Pack v1.23:
- Made the dynamic sprite uploader only run on level and title screen game mode. This may fix some issues with dynamic sprites getting garbaged graphics on fade in/out or even unwanted uploads.

Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
\___ \ / /\ \______| | | ___/ _` |/ __| |/ /
____) / ____ \ | | | | | (_| | (__| <
|_____/_/ \_\ |_| |_| \__,_|\___|_|\_\
by Vitor Vilela Version 1.23
by Vitor Vilela Version 1.24

The SA-1 Pack consist of a couple of patches that enable
SA-1 and prepare your SMW ROM to use the SA-1 CPU in the
Expand Down
4 changes: 4 additions & 0 deletions sa1.asm
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,9 @@ Character_Conversion_DMA: ; CCDMA Routine.
STY $2200 ; /
DEY ; \ Increase $2116/$2117 then writing to $2119
STY $2115 ; /
- LDA $318D ; \ Make sure that Character Conversion is ON.
BEQ - ; |
STZ $318D ; /
;
%ccdmaslot(0) ; \ Unrolled loop
%ccdmaslot(1) ; | to run each character conversion DMA table slot.
Expand Down Expand Up @@ -750,6 +753,7 @@ ProcessRequest:
EnableChvDMA:
LDA #$B0 ; \ Enable Character Conversion DMA CC1 (BW-RAM->I-RAM)
STA $318D ; |
STA $2230 ; /
BRA SA1_IRQEnding ; Return
Expand Down

0 comments on commit cb804a4

Please sign in to comment.