It is currently Wed May 22, 2019 3:39 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Apr 08, 2019 10:09 am 
Offline

Joined: Fri Apr 05, 2019 9:47 pm
Posts: 3
byuu wrote:
Not for the audio portion, though. I had to just reuse the Wiki formulas for that. I suck at FM synthesis. I do have 6-bit signed integers in higan though, so I would like to try and rework that code sometime to use those instead of the strange over/underflow manual checks to work with 8-bit integers that's there now.

I'm a bit unfamiliar with precisely what you're trying to do here, but... Can you "just" scale all of your 6-bit values by 4 (shift left two bits) and treat as 8-bit, with appropriate compensation for divide/multiply if necessary?


Top
 Profile  
 
PostPosted: Mon Apr 08, 2019 7:10 pm 
Offline

Joined: Mon Mar 27, 2006 5:23 pm
Posts: 1470
I certainly could, yes. I just figure that if I have native 6-bit types, I may as well allow the over/underflow behavior to occur naturally.


Top
 Profile  
 
PostPosted: Sun Apr 14, 2019 8:49 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 1162
Location: Hokkaido, Japan
byuu wrote:
I haven't *yet* added write protection. Is that just a physical switch on the floppy disk like regular 3.5" disks have?
Not a switch, QDs have two plastic tabs (one for each side) that are broken off to enable write protection (just like on tapes), so you need to tape over the slot to disable write protection again. Although games might not work if it's enabled, Nintendo's version of the disks nevertheless always has these tabs, so I see nothing wrong in emulating them.

The tabs are checked by a physical lever inside the disk drive which can get dirty and upset, and throwing unwanted write protection errors even if you press on it with your finger. Never happened to me though.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group