Project

General

Profile

Activity

From 08/13/2018 to 09/11/2018

09/03/2018

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... foft

09/02/2018

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 relate... Farb
09:53 PM Bug #74: Mounted disks don't always load
Farb, are you still running into this with the latest builds? foft
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 Farb
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 dif...
foft
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...
foft

09/01/2018

04:40 PM Feature #73: Implement ATX disk image support
That's great, thanks. foft
04:09 PM Feature #73: Implement ATX disk image support
Ok, done and checked into v09 branch. Farb
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? foft

08/31/2018

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 :-) Farb
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!! Farb
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...
foft
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 m...
foft

08/28/2018

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... foft
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. foft

08/27/2018

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 fi...
foft
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 betwee...
foft

08/26/2018

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.
...
foft
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... foft
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 patch... foft

08/25/2018

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... Farb
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...
foft
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... Farb
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. foft
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 pla...
foft
12:02 AM Feature #73: Implement ATX disk image support
Fantastic! :-D Farb

08/24/2018

09:42 PM Feature #73: Implement ATX disk image support
Now M.U.L.E. works:-) + Bruce Lee. foft
09:41 PM Feature #73: Implement ATX disk image support
Ooops, had the subtraction backwards in waitForAngularPosition, doh. foft

08/23/2018

08:40 PM Bug #74: Mounted disks don't always load
Probably about time I fix this, might be impacting some atx loading too. foft

08/22/2018

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...
Farb
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 Ag... Farb
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 ... foft
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 ... Farb
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 reco... Farb
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 i... foft
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 takin... Farb

08/21/2018

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 success...
Farb
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 y... foft
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... foft
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 l... foft
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 stat... Farb
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. foft
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 w...
foft
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...
foft
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 dupli... Farb

08/20/2018

10:16 PM Bug #74 (Closed): Mounted disks don't always load
I have been seeing some strange disk loading behavior for the past few builds. Intermittently, when I mount a disk an... Farb
10:14 PM Feature #73: Implement ATX disk image support
I should add (in case it wasn't completely clear) that all those titles work with the current version of atx.c. Farb
10:06 PM Feature #73: Implement ATX disk image support
I just tried atxv2 as well.
It sounds to me like the "slow" parts are too slow and the "speed-ups" are too fast. I...
Farb
09:54 PM Feature #73: Implement ATX disk image support
An aside, but noticed I seem to have a bunch of hexdumps still in this code. Better remove them since I'm sure they t... foft
09:51 PM Feature #73: Implement ATX disk image support
Nope, still seems to hang on most things. Hmmm. foft
09:50 PM Feature #73: Implement ATX disk image support
Trying to hook up sector status to 0x53 to see if that helps foft
09:34 PM Feature #73: Implement ATX disk image support
Fixed that and put it up as atxv2.
Load a bit quicker, but still only a few things seems to work (baker street and...
foft
09:09 PM Feature #73: Implement ATX disk image support
Seems that it was just a + vs - issue when calculating the wait on rotation. Doh. foft
06:31 PM Feature #73: Implement ATX disk image support
I think something might be wrong with track step or something. Since its loads slow, slow slow, then occasional fast.... foft
06:30 PM Feature #73: Implement ATX disk image support
I've put the rpd there now. foft
05:11 PM Feature #73: Implement ATX disk image support
I am not aware of anything that exists like that today but think it is an excellent idea. I have reached out to some ... Farb
07:51 AM Feature #73: Implement ATX disk image support
Oh, forgot to copy that! Will do that this evening.
I was thinking a test suite would be great. On an atx that boo...
foft

08/19/2018

09:30 PM Feature #73: Implement ATX disk image support
That is great news. I'm happy to test it out. How do I make an .rpd from the .jic and/or .sof? Farb
09:04 PM Feature #73: Implement ATX disk image support
Farb, I've put the latest test version here. Can you give it a try please since you are more familiar with how the be... foft
08:44 PM Feature #73: Implement ATX disk image support
Added byte swapping and changed the wait_us delays to be in us. For some reason wait_us(3.22*1000) was hanging rather... foft

08/18/2018

09:52 PM Feature #73: Implement ATX disk image support
Looks an an endian issue. I see AT8X ok, then version is 256... foft

08/17/2018

09:33 PM Feature #73: Implement ATX disk image support
If I comment loadAtxSector it does not hang, so must be something stuck in a loop in there. Will instrument and print... foft
09:27 PM Feature #73: Implement ATX disk image support
Now the core is working again in general: USB, atr, xex. I can insert atx disks, but they fail to load - firmware han... foft

08/16/2018

10:03 PM Feature #73: Implement ATX disk image support
I got the core building but I've broken it enough that usb no longer works... ooops, will have to debug another day. foft
10:02 PM Feature #73: Implement ATX disk image support
There are the default (original) sdrive delays in us iirc. If an ack is sent too soon it can arrive before the sio co... foft
09:58 PM Feature #73: Implement ATX disk image support
I'm not sure what DELAY_T2_MIN, DELAY_T5_MIN, etc. actually represent here so unfortunately I can't comment on that s... Farb
09:46 PM Feature #73: Implement ATX disk image support
Changed the timer/pause reg to be in microseconds and exact (USB clock/48 with clock domain crossing by toggle)
Adde...
foft
 

Also available in: Atom