|
Post by elmer on Nov 29, 2019 0:53:03 GMT
Updated the "no-eyestrain" version of Mednafen to v1.22.2, and added disassemble-to-file and hex-dump-to-file functions which can be useful for translation-hacking.
The disassembler itself is new, and adds a couple of features over Mednafen's original version.
Anyone developing a PCE game or utility specifically for the Turbo Everdrive hardware can now set the entire 1MB of Mednafen's cartridge space to writable-RAM to simulate the TED2 for debugging.
|
|
|
Post by siudym on Feb 22, 2022 13:44:21 GMT
I have a question related to the NESASM update - I was using versions 3.0 and 3.1 before, when I changed to the latest v3.23-c266d57 Beta, there started to appear compilation errors that were not in 3.0 and 3.1, for example:
NES Assembler (v 3.23-c266d57 Beta, 2018-07-07)
pass 1
pass 2
#[2] famitone\music.asm
6 0E:C559 .dw .samples-4
Undefined symbol in operand field!
# 1 error(s)
Is ".dw .samples-4" no longer supported? (dash at the end of define word)
The code with which the new NESASM had a problem:
music_music_data:
.db 1
.dw .instruments
.dw .samples-4
.dw .song0ch0,.song0ch1,.song0ch2,.song0ch3,.song0ch4,307,256
.instruments:
.db $30 ;instrument $00
.dw .env1,.env19,.env0
.db $00
.db $30 ;instrument $01
.dw .env3,.env20,.env0
.db $00
.db $30 ;instrument $02
.dw .env2,.env20,.env0
.db $00
.db $30 ;instrument $03
.dw .env5,.env20,.env0
.db $00
.db $30 ;instrument $04
.dw .env13,.env22,.env24
.db $00
.db $b0 ;instrument $05
.dw .env15,.env0,.env25
.db $00
.db $b0 ;instrument $06
.dw .env16,.env0,.env25
.db $00
.db $b0 ;instrument $07
.dw .env17,.env0,.env0
.db $00
.db $30 ;instrument $08
.dw .env18,.env0,.env0
.db $00
.samples:
.env0:
.db $c0,$00,$00
.env1:
.db $c6,$c5,$c4,$c3,$c2,$c2,$c0,$00,$06
.env2:
.db $c5,$c3,$c4,$c3,$c2,$03,$c1,$04,$c0,$00,$08
.env3:
.db $c7,$c4,$c3,$c3,$c2,$c1,$c1,$c0,$00,$07
.env4:
.db $cc,$ca,$c9,$c8,$c8,$c6,$c5,$c3,$c2,$c1,$c0,$00,$0a
.env5:
.db $c5,$c6,$c5,$c4,$c4,$c3,$c3,$c2,$c2,$c1,$c0,$00,$0a
.env6:
.db $ce,$cc,$ca,$c8,$c5,$c3,$c1,$00,$06
.env7:
.db $c9,$ca,$c6,$c5,$c3,$c2,$04,$c1,$c1,$c1,$00,$09
.env8:
.db $c3,$c2,$c1,$c0,$00,$03
.env9:
.db $cf,$cc,$ca,$c5,$c2,$c1,$00,$05
.env10:
.db $cf,$cc,$c8,$c5,$c4,$c3,$c2,$c2,$c1,$03,$c1,$00,$0a
.env11:
.db $c6,$c5,$03,$c4,$02,$c3,$04,$c2,$07,$c1,$12,$c1,$00,$0b
.env12:
.db $c4,$c4,$c3,$03,$c2,$0e,$c1,$12,$c1,$00,$08
.env13:
.db $c5,$c4,$c3,$c3,$c2,$c3,$c2,$23,$c1,$06,$c0,$00,$0a
.env14:
.db $c7,$c5,$c4,$c3,$c2,$c1,$00,$05
.env15:
.db $cd,$c4,$c7,$c3,$c5,$c1,$00,$05
.env16:
.db $c7,$c3,$c6,$c2,$c4,$c1,$00,$05
.env17:
.db $c8,$c2,$c5,$c2,$c4,$c3,$00,$05
.env18:
.db $c9,$00,$00
.env19:
.db $c0,$c5,$00,$01
.env20:
.db $c0,$c2,$00,$01
.env21:
.db $c0,$c3,$00,$01
.env22:
.db $c0,$c4,$c7,$00,$00
.env23:
.db $dc,$00,$00
.env24:
.db $c0,$c1,$c2,$c4,$c6,$00,$00
.env25:
.db $c0,$04,$bf,$c0,$c1,$c0,$bf,$c0,$c1,$c0,$00,$01
|
|
|
Post by elmer on Feb 22, 2022 16:55:52 GMT
I have a question related to the NESASM update - I was using versions 3.0 and 3.1 before, when I changed to the latest v3.23-c266d57 Beta, there started to appear compilation errors that were not in 3.0 and 3.1, for example: ... Is ".dw .samples-4" no longer supported? (dash at the end of define word) Thanks for the bug-report! I have checked the old 2018 build that you're using, and can confirm the problem that you're seeing. I wonder what-on-earth is going on! The thing is, that build is 3 1/2 years old now, and the current NESASM v3.25 (built from the sourcecode in github) does not exhibit the bug that you're reporting, and so there's no way that I can track down a problem that doesn't *seem* to exist anymore. Can you please either build the toolchain from the current source (if you're on Linux/Mac), or if you're using Windows 64-bit, you can try this updated NESASM ... <EDIT> Attachment removed!
|
|
|
Post by elmer on Feb 24, 2022 14:56:50 GMT
I think there are some files in the archive that clash with Windows 10 Defender because I can't download: "Trojan: Script / Sabsik.FL.A! Ml". <sigh> OK, Windows can be a bit paranoid, especially with a .zip file that only contains a one file, a .exe file. I have added a new complete Win64 build of the current HuC to the first post in this thread. Can you please see if Windows will let you download that?
|
|