Talk:Family BASIC Data Recorder: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Example codes)
 
Line 1: Line 1:
==Example codes==
==Example codes==
Can someone please add some example codes for how you would record data on the tape and play it back? It might help if someone want to use it. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 18:11, 23 November 2013 (MST)
Can someone please add some example codes for how you would record data on the tape and play it back? It might help if someone want to use it. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 18:11, 23 November 2013 (MST)
:The source for [http://www.chrismcovell.com/TapeDump_Controls.html TapeDump] and [http://forums.nesdev.org/viewtopic.php?f=2&t=9909 TapeDump's FDS writer] are representative, and could easily be adapted by replacing the writes to $4011 with writes to $4016.0 and reads from $4016.2 with reads from $4017.1
:<font size=-2><i>(At some point I though "It'd be cool to implement something more sophisticated than KCS, like MFM or RLL2,7" but then I realized ... really, when is anyone going to use it? The best bit density we can reasonably expect to work would be small—maybe 3600bps. For hysterical raisins, everything in an emulator more easily pretends it has battery-backed RAM, and for new manufacture, using Flash PRG or CHR or a serial EEPROM and storing save data in them is easier. And KCS has the advantage that lots of software decoder/encoders already exist.)</i></font> —[[User:Lidnariq|Lidnariq]] ([[User talk:Lidnariq|talk]]) 20:32, 23 November 2013 (MST)

Revision as of 03:32, 24 November 2013

Example codes

Can someone please add some example codes for how you would record data on the tape and play it back? It might help if someone want to use it. --Zzo38 (talk) 18:11, 23 November 2013 (MST)

The source for TapeDump and TapeDump's FDS writer are representative, and could easily be adapted by replacing the writes to $4011 with writes to $4016.0 and reads from $4016.2 with reads from $4017.1
(At some point I though "It'd be cool to implement something more sophisticated than KCS, like MFM or RLL2,7" but then I realized ... really, when is anyone going to use it? The best bit density we can reasonably expect to work would be small—maybe 3600bps. For hysterical raisins, everything in an emulator more easily pretends it has battery-backed RAM, and for new manufacture, using Flash PRG or CHR or a serial EEPROM and storing save data in them is easier. And KCS has the advantage that lots of software decoder/encoders already exist.)Lidnariq (talk) 20:32, 23 November 2013 (MST)