Activity
From 08/21/2018 to 09/19/2018
09/13/2018
- FO 09:38 PM Bug #74: Mounted disks don't always load
- I'd added a 2ms delay temporarily to stop some fast/slow flip flopping. That actually breaks USB keyboard when in that state. Decreased it to 100us for now, though really I need to get to the bottom of what is going on.
I have a cartr...
09/03/2018
- FO 09:31 AM Bug #74: Mounted disks don't always load
- Ok good. That’s as I hoped. I still need to make switching from slow to fast sio and back more reliable, I just fixed something that made it enter that state too often.
09/02/2018
- FA 10:01 PM Bug #74: Mounted disks don't always load
- It doesn't seem to be happening as much although I did run into some weirdness a couple of times that might be related so I'll keep an eye on it.
- FO 09:53 PM Bug #74: Mounted disks don't always load
- Farb, are you still running into this with the latest builds?
- FA 10:00 PM Feature #73: Implement ATX disk image support
- Ok, I just checked in a couple more changes. Your patch file should get pretty small now :-D
- FO 09:37 PM Feature #73: Implement ATX disk image support
- So this is what I ended up with as a patch to atx.c.
I'm updating gTrackInfo on every disk change or access to different drive, to save space.
I think I had issues with not being able to change globals if I assigned a value, so I r... - FO 09:44 PM Core v28
- * atx support, thanks to Farb
* fixed disk change sio ack bug (swap file read before ack led to failed reads on disk swap)
09/01/2018
- FO 04:40 PM Feature #73: Implement ATX disk image support
- That's great, thanks.
- FA 04:09 PM Feature #73: Implement ATX disk image support
- Ok, done and checked into v09 branch.
- FO 01:44 PM Feature #73: Implement ATX disk image support
- Could it be changed somehow like this? i.e. move the avr parts to another file and add byte swapping?
08/31/2018
- FA 11:08 PM Feature #73: Implement ATX disk image support
- Oh, and let me know if there are things I can do in the atx.h/c code to make it easier for you to consume :-)
- FA 11:07 PM Feature #73: Implement ATX disk image support
- I just updated to atxv5 and confirmed that 107 all passes and the few games I tested worked great. Fantastic work!!
- FO 09:47 PM Feature #73: Implement ATX disk image support
- I put this up as atxv5.
So 107 all passes, but 107 track35 seems to have a lot of NOKs... - FO 09:39 PM Feature #73: Implement ATX disk image support
- Updated to the v9 code.
I need to split out the eclaireXL changes to make this easier to update. I was going to make a diff from v8 and apply with patch, but I don't see v8 any more? Anyway merged and don't think I missed anything si...
08/28/2018
- FO 09:45 PM Bug #74: Mounted disks don't always load
- Added more structure to the command handling (common ack/nak etc) and looking much better. More to do though...
- FO 09:57 AM Bug #74: Mounted disks don't always load
- I guess a disk revolution at 288rpm is 200ms, so it must be ok timing wise to do the ack first.
08/27/2018
- FO 09:34 PM Bug #74: Mounted disks don't always load
- The time spent on iii is in pf_open, the fat file system open. I guess this must do some work.
Perhaps if I ack first then the Atari will give me more time to handle this in piece... This will mean with the current approach that code ... - FO 09:22 PM Bug #74: Mounted disks don't always load
- So 3 problems...
i) Sometimes bad checksum, must be a sync issue with pokey clock I guess.
ii) Flip flopping between fast and slow too quickly to make sense.
iii) Seems to be very slow to ready 16 bytes from sd card (atr header), Atar...
08/26/2018
- FO 09:41 PM Bug #74: Mounted disks don't always load
- Hmmm, gets a failed checksum on the first sector read and switches to high speed sio. Then takes a while to resync.
Now need to see why I get a bad checksum (tomorrow). - FO 08:45 PM Bug #74: Mounted disks don't always load
- Setting up the logic analyser to check the cause of the first few fails on the scanalyzer...
- FO 08:51 AM Feature #73: Implement ATX disk image support
- Thanks. It loaded more on the 400/800 rom (but not that far) and stopped early on the XL/XE. I think I have the patched xformer rom, perhaps that is why.
From the check suite 102:
I am getting OK/NOK/OK/OK and then the L3 highlighted...
08/25/2018
- FA 06:00 PM Feature #73: Implement ATX disk image support
- I just tried it with SDrive Max and Eclaire in XL/XE mode. It loaded and I got to the point that the plane was on the runway ready for take-off.
- FO 05:31 PM Feature #73: Implement ATX disk image support
- Hmm, will check the timing some more.
Does flight sim II work on the max? I remember that being time sensitive and get lots of system errors loading it. - FA 03:58 PM Feature #73: Implement ATX disk image support
- I just tested Bandits with SDrive Max and Eclaire XL in 800 mode. It works fine. You need to wait until the full game attract mode starts (e.g. full gameplay is shown with attacking ships moving on the screen).. The game loads from disk ...
- FO 08:41 AM Feature #73: Implement ATX disk image support
- Hmm, Bandits just worked with no change. Perhaps related to the other sector error issue.
- FO 08:31 AM Feature #73: Implement ATX disk image support
- I'll put it up as atxv4 shortly.
Tested the few you sent. They all seem to work, except Bandits still does not play... Does this atx work fully via sdrive to Eclaire (800 mode) but not via this? Wondering if the remaining problem is a... - FA 12:02 AM Feature #73: Implement ATX disk image support
- Fantastic! :-D
08/24/2018
- FO 09:42 PM Feature #73: Implement ATX disk image support
- Now M.U.L.E. works:-) + Bruce Lee.
- FO 09:41 PM Feature #73: Implement ATX disk image support
- Ooops, had the subtraction backwards in waitForAngularPosition, doh.
08/23/2018
- FO 08:40 PM Bug #74: Mounted disks don't always load
- Probably about time I fix this, might be impacting some atx loading too.
08/22/2018
- FA 12:56 PM Feature #73: Implement ATX disk image support
- Here's further info about those two disks:
http://a8preservation.com/#/software/dump/82
http://a8preservation.com/#/software/dump/257
See specifically the "copy protection" row. - FA 12:55 PM Feature #73: Implement ATX disk image support
- I believe phantom and duplicate sector are synonymous. Yes, multiple sectors with the same number on a track. Both Agent U.S.A. and Bruce Lee have them in the disks that I provided.
- FO 12:50 PM Feature #73: Implement ATX disk image support
- What is a phantom sector? Same sector number and valid/crc error/weak on same track? Do you have examples for one on one of the disks you sent?
- FA 08:50 AM Feature #73: Implement ATX disk image support
- I quickly confirmed that changing $F7 to $EF didn't break any of the images I ran the Scanalyzer test and it returns the expected status codes. So I will check that fix into the SDrive repository later today. Thanks for pointing it out!
- FA 07:19 AM Feature #73: Implement ATX disk image support
- Hmm, good point. The status bits are active low which would make $F7=11110111 and $EF=11101111. Bit 4 represents record not found so this may very well be a bug in the current ATX code. I will need to test and confirm.
- FO 07:03 AM Feature #73: Implement ATX disk image support
- Why does the code default to 0xf7? It says that means ‘data crc or weak sector’ in the hardware manual. The comment in atx.c says default in case sector not found. Shouldn’t that be 0xef which means ‘record not found’?
Btw scanalyzer ... - FA 06:22 AM Feature #73: Implement ATX disk image support
- As you have already surmised, the status byte returned from loadAtxSector contains the FDC status bits. Are you taking inversion into account correctly? See page 185 of the Altirra Hardware Reference manual: http://www.virtualdub.org/dow...
08/21/2018
- FA 11:27 PM Feature #73: Implement ATX disk image support
- Ok, I tested v3 and saw a few things:
1. Agent U.S.A. and Goonies successfully loaded. Woohoo!
2. Bandits successfully booted when started in 48K Atari 400/800 mode but it causes a reboot when its tries to load the first level in dem... - FO 09:17 PM Feature #73: Implement ATX disk image support
- OK, have to call it a day for today. I'll put up v3 with the latest anyway, though I suspect not much really helped yet...
- FO 09:15 PM Feature #73: Implement ATX disk image support
- OK, can reproduce the same results in the linux sim... Which is good. So its not a missed byte swap (there is no byte swapping on x64).
- FO 09:05 PM Feature #73: Implement ATX disk image support
- Yeah I wired status up right after building atxv2. I am getting back 0xf7 though. Its not finding the sector in the loop, so it returns the default.
I'm getting the linux build working so I can debug more easily... - FA 09:03 PM Feature #73: Implement ATX disk image support
- Glad it is making progress. I did wonder if bug 74 had something to do with what I was seeing. Are you using the status byte that comes back from loadAtxSector?
- FO 08:33 PM Feature #73: Implement ATX disk image support
- OK, little better. Now getting 247 on 19,20,... and 28,32. Investigating why the status is not 239 now.
- FO 08:26 PM Feature #73: Implement ATX disk image support
- I think the first few errors may be related to the bug 74 you raised.
I do see failure on those sectors though I was returning NAK instead of ERR and data. I'll try the latter. - FO 07:00 PM Feature #73: Implement ATX disk image support
- If it’s that broken I wonder why air strike, Bruce Lee and lode runner work.
I’ll try that tool... - FA 07:28 AM Feature #73: Implement ATX disk image support
- I did some further testing and something definitely seems quite wrong. I can understand timing problems causing duplicate sector or timing-based protection checks to fail, but it seems like everything I try is having problems.
Here's ...