Home Page
Posted By: Curt Coder MESS cassette wave conversion - 04/20/10 08:16 AM
Is there a correct way to do cassette to wave conversion in MESS? There is mentions of legacy code, how can I avoid writing that?
Posted By: Micko Re: MESS cassette wave conversion - 04/20/10 08:52 AM
Take a look at orao_cas.c it is done for quite simple tape format. It skips it's header and replaces each bit of data from file with a proper sequence of 1 and 0 in wave output.
Posted By: JoJo Re: MESS cassette wave conversion - 04/20/10 10:10 AM
Originally Posted By Curt Coder
Is there a correct way to do cassette to wave conversion in MESS? There is mentions of legacy code, how can I avoid writing that?


coco_cas.c and sord_cas.c provide an example about how to implement the non-legacy code. The new code was written by Nathan IIRC, and looks like it's more abstracted from the machine's details, which I think it's a plus.

Eventually, a decision should be made about which code to keep and which discard - however the situation at present doesn't look so bad, if we compare it to the floppy code before rewrite... wink
Posted By: Curt Coder Re: MESS cassette wave conversion - 04/20/10 02:36 PM
I'm voting for the new code already smile It looks very clean compared to the legacy. Didn't get it quite working yet, maybe tomorrow.
© Forums