This pull request fixes an issue where the floppy disk buffer is not saved or loaded with the state. This means that if you write to a floppy disk and make a save state, the write is not recorded and will not be restored when the state is loaded.
Description
The changes in this pull request address this issue by:
Adding the fda_image property to the state in the CPU.prototype.get_state() and CPU.prototype.set_state() methods.
Adding the fda_image property to the state in the FloppyController.prototype.get_state() and FloppyController.prototype.set_state() methods.
These changes ensure that the floppy disk buffer is properly saved and loaded with the state, preserving any data written to the floppy disk.
Summary
Added fda_image property to state in CPU.prototype.get_state() and CPU.prototype.set_state()
Added fda_image property to state in FloppyController.prototype.get_state() and FloppyController.prototype.set_state()
Fixes #3.
[!TIP]
To get Sweep to edit this pull request, you can:
Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch
This is an automated message generated by Sweep AI.
Purpose
This pull request fixes an issue where the floppy disk buffer is not saved or loaded with the state. This means that if you write to a floppy disk and make a save state, the write is not recorded and will not be restored when the state is loaded.
Description
The changes in this pull request address this issue by:
fda_image
property to the state in theCPU.prototype.get_state()
andCPU.prototype.set_state()
methods.fda_image
property to the state in theFloppyController.prototype.get_state()
andFloppyController.prototype.set_state()
methods.These changes ensure that the floppy disk buffer is properly saved and loaded with the state, preserving any data written to the floppy disk.
Summary
fda_image
property to state inCPU.prototype.get_state()
andCPU.prototype.set_state()
fda_image
property to state inFloppyController.prototype.get_state()
andFloppyController.prototype.set_state()
Fixes #3.
This is an automated message generated by Sweep AI.