Famitracker BIN file question

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems. See the NESdev wiki for more information.

Moderator: Moderators

Post Reply
ReverendSA
Posts: 36
Joined: Wed Mar 23, 2016 12:27 pm

Famitracker BIN file question

Post by ReverendSA »

hello all,

if I want to play an F#3 with max volume on sq1, I would do this in ASM:

Code: Select all

LDA #$7F
STA $4000

LDA #$2D
STA $4002
LDA #$01
STA $4003
if on FTM I create single entry under sq1 which has: "F#3 00 F" and export as bin, i see these hex in export:

Code: Select all

10 00 0D 00 10 00 10 00 00 10 0E B8 0B 0F 00 00 
12 00 19 00 01 40 06 96 00 1B 00 25 00 29 00 29 
00 29 00 29 00 E0 [b]FF 2B[/b] 3F 00 3F
if i change "F#3 00 F" to G#3 and export, everything appears the same except the bolded part. any idea how this gets translated to values for $4000-$4003?

the DOT ASM export showed this too:

Code: Select all

; Bank 0
ft_s0p0c0:
	.byte $E0, $FF, $2B, $3F

; Bank 0
ft_s0p0c1:
	.byte $00, $3F
ReverendSA
Posts: 36
Joined: Wed Mar 23, 2016 12:27 pm

Re: Famitracker BIN file question

Post by ReverendSA »

you know what, nevermind about what i asked. i have other ideas for audio that do not need to rely on the BIN file.
Post Reply