Comments (8)
Started reorganizing to cleanly separate logical layers
from nesii.
Did a nice reorg of the build setup today so that NOS can optionally be built into the BIOS ROM image (and jumped to directly instead of the BIOS trying to load the bootsector) so that we can build and test NOS code without having to constantly write floppies.
from nesii.
Got a wild hair and ended up getting a mechanism for handing args to subcommands and an echo command to demonstrate it.
Will need this in order to pass a file name to the run command.
from nesii.
Just making a note that I did check and confirm that find file is working with support for spaces as potential match terminators
from nesii.
Implemented open and read byte FS calls that basically seem to work.
Read byte does not yet support chaining into the next T/S list sector, which we're definitely going to need for loading NES games.
We should probably implement the 'keep reading until the floppy data latch changes' method of waiting for the floppy motor at some point since right now we always wait a little over a second after we turn the floppy motor on just in case.
from nesii.
In the interest of making the fully fleshed-out follow-the-whole-T/S-list-chain version of the file read code a little easier to implement, started modifying the code today to operate on the basis of an 'open file info' structure which includes information about what the root T/S list sector for the file is, what the currently loaded T/S list sector is, which T/S is currently loaded into the data buffer, &c.
from nesii.
Large file loading now works confirmed up to 16k, now I just need to add a jsr to the entry point and this story is functionally done.
Next step is to open an issue for loading and executing 32k NES games off of the FS.
from nesii.
Run command working all day long, need to merge and we're done
from nesii.
Related Issues (20)
- [NES II] Read a sector HOT 4
- [NES II] Boot from a floppy HOT 2
- [NES II] Read and display the catalog from an Apple DOS 3.3-compatible disk HOT 2
- [NES II] Run NES game image from DOS filesystem HOT 4
- [NES II] Fix bottom line clearing during screen scroll HOT 1
- [NES II] Use check-for-data-changing floppy motor wait hack HOT 1
- [NES II] Add disk read timeout to bios HOT 2
- [NES II] Write a sector to a floppy
- [NES II] Implement a 'not an Apple II disk' warning in NOS boot code
- [NES II] Implement a 'not an Apple II program' warning in NES game loaders
- [NES II] Implement BIOS update module system HOT 3
- [NES II] Update SHELL to load any BIOS update modules found on the disk at startup HOT 1
- [NES II] Implement file create call
- [NES II] Implement file delete call
- [NES II] Implement file write call
- [NES II] Get BASIC running
- [NES II] Support execution of HELLO WORLD in BASIC
- [NES II] Support loading and running file from disk in BASIC
- [NES II] Support saving current file to disk in BASIC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nesii.