v1.3.7: TinyBASIC file I/O, Makefile unification, timestamp support #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "version-1.3.7"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
DIR,SAVE, andLOADcommands, giving TinyBASIC programs the ability to list, store, and retrieve files on the S7FS filesystem.LOADhandles multi-cluster files, so programs that outgrow a single cluster no longer vanish into the ether.STDIO_FILEandSTDIO_NOVGAcalls let programs redirectPRINToutput to a file buffer without cluttering the screen. Handy forSAVE, essential for not annoying the user.make clean. One ring to rule them all.Bug Fixes
SYS_FS_WRITEfile size: Previously stored sector-aligned sizes, meaning every file looked suspiciously round. Now stores exact byte counts.PRINT_RTCcross-bank address (73e6f59): A stale equate pointedPRINT_RTCinto the middle of_ext_color_clearrather than_print_rtc, causing the VGA display to fill with horizontal bar characters (glyph 0x01) at boot -- a bold aesthetic choice, but not an intentional one. Fixed the address and cleaned up leftover debug tracing in the emulator harness.Test Plan
emu7and confirm no glyph-0x01 wallpaper at startup.SAVE "TEST",NEW,LOAD "TEST", and verify it round-trips intact.DIRshould list files with sizes and timestamps.SAVEa program larger than one cluster,LOADit back, confirm nothing is truncated.make clean && make allfrom a fresh checkout; verify ROM, emulator, and packaging targets all complete.make run,make basic, andmake forthlaunch correctly.