SO that git problem was really strange. Let's try this again.
Any development on the new save function needs to go here and my approval is needed before anything gets merged.
Things the function needs to do:
Get the address of the file (ES:BX)
Get the file name to save it under (DS:DX)
Check to see if file exists: if no, jmp 3a. If yes, jmp 3b.
3a. Find a place to store file contiguously and update FSB with new entry
3b. Find old entry and see if file exceeds its old bounds. If it does, find a new place for it. If not, smply rewrite it in its place.
Save the FSB.
Exit, with carry set if there was an error in any of the above steps.
SO that git problem was really strange. Let's try this again.
Any development on the new save function needs to go here and my approval is needed before anything gets merged.
Things the function needs to do:
Get the address of the file (ES:BX) Get the file name to save it under (DS:DX) Check to see if file exists: if no, jmp 3a. If yes, jmp 3b. 3a. Find a place to store file contiguously and update FSB with new entry 3b. Find old entry and see if file exceeds its old bounds. If it does, find a new place for it. If not, smply rewrite it in its place. Save the FSB. Exit, with carry set if there was an error in any of the above steps.