I can't load a bin file , load pal can yes.
Posted: Sun Apr 07, 2024 7:57 am
Hi good afternoon.
I can't load a bin file.
What kind of address does this store have to have in the bin?
Pal files can be loaded.
does a head have to go there please?
pal :
00 00 FF 0F 08 00 FA 0E 4C 0C C0 05 00 0A EE 07.......
bin:
3C 66 6E 6E 60 62 3C 00 00 00 3C 06 3E 66 3E 00
Thanks.
greeting
------------------------------------
procedure veraCharLoad(filename: String); assembler;
asm
phx
lda #1; // logical file number
ldx #8; // device number
ldy #2; // doing bvload
jsr SETLFS
lda #<(adr.filename+1)
sta r12L
lda #>(adr.filename+1)
sta r12H
lda adr.filename
// get pointer into x,y registers
ldx r12L
ldy r12H
jsr SETNAM
lda #3; // BVLOAD
ldx #$00
ldy #$f0
jsr LOAD
plx
end;
------------------------------------
I can't load a bin file.
What kind of address does this store have to have in the bin?
Pal files can be loaded.
does a head have to go there please?
pal :
00 00 FF 0F 08 00 FA 0E 4C 0C C0 05 00 0A EE 07.......
bin:
3C 66 6E 6E 60 62 3C 00 00 00 3C 06 3E 66 3E 00
Thanks.
greeting
------------------------------------
procedure veraCharLoad(filename: String); assembler;
asm
phx
lda #1; // logical file number
ldx #8; // device number
ldy #2; // doing bvload
jsr SETLFS
lda #<(adr.filename+1)
sta r12L
lda #>(adr.filename+1)
sta r12H
lda adr.filename
// get pointer into x,y registers
ldx r12L
ldy r12H
jsr SETNAM
lda #3; // BVLOAD
ldx #$00
ldy #$f0
jsr LOAD
plx
end;
------------------------------------