Hello,
I started fig-Forth on my Pet2001 about 45 year ago.
Now I have the same fig-Forth running on a ESP32 with an SD-card aboard
Running a 6502 emulator written in C as processor.
I strubbel with the file system. It is running in ram for now from $4000-$E000 and I can save this to
the sd card. I have tried to change the sector to 512 bytes/sector en 2 block/screen.
SSIZE =512 ; sector size in bytesf (128)
NBUF =4 ; number of buffers desired in RAM (16)
; (SSIZE*NBUF >= 1024 bytes)
BMAG =2064 ; total buffer magnitude, in bytes
; expressed by SSIZE+4*NBUF (2112)
L992 .BYTE $85,"B/SC",$D2
.WORD L984 ; link to B/BUF
BSCR .WORD DOCON
.WORD 2 ; blocks to make one screen
But with no results. Is it possible to change this sector? and if yes what to changed to get it running?
The reason for this change is the amount of bytes in a file block on the sd card.
But for now I like it to play again and wold trough my old books.
Thanks for any help.
Cheers,
Jan (Hellevoetsluis,NL)