foft's activity
From 07/23/2018 to 08/21/2018
08/21/2018
- FO 09:17 PM EclaireXL 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 EclaireXL 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 EclaireXL 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... - FO 08:33 PM EclaireXL 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 EclaireXL 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 EclaireXL 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...
08/20/2018
- FO 09:54 PM EclaireXL 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 trash mem on some programs!
- FO 09:51 PM EclaireXL Feature #73: Implement ATX disk image support
- Nope, still seems to hang on most things. Hmmm.
- FO 09:50 PM EclaireXL Feature #73: Implement ATX disk image support
- Trying to hook up sector status to 0x53 to see if that helps
- FO 09:34 PM EclaireXL 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 airstrike so far...) - FO 09:09 PM EclaireXL Feature #73: Implement ATX disk image support
- Seems that it was just a + vs - issue when calculating the wait on rotation. Doh.
- FO 06:31 PM EclaireXL 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. I'd expect fairly fast then pause for track step etc.
- FO 06:30 PM EclaireXL Feature #73: Implement ATX disk image support
- I've put the rpd there now.
- FO 07:51 AM EclaireXL 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 boots on the Atari then checks a few comment metrics/protection types. Do you know if there is anything like that at all yet?
08/19/2018
- FO 09:04 PM EclaireXL 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 beeps should sound/what current works?
http://www.64kib.com/autobuild/private/prototype_v2/atxv1.jic and http://www.64kib... - FO 08:44 PM EclaireXL 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 then ending up as wait_us(3220).
Some files are loading.
08/18/2018
- FO 09:52 PM EclaireXL Feature #73: Implement ATX disk image support
- Looks an an endian issue. I see AT8X ok, then version is 256...
08/17/2018
- FO 09:33 PM EclaireXL 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 printf debug I guess :-)
- FO 09:27 PM EclaireXL 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 hangs. Unfortunately debugging is a pain, might see if I can get the linux build Hias made working again...
08/16/2018
- FO 10:03 PM EclaireXL 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.
- FO 10:02 PM EclaireXL 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 code is ready I think etc. Since the atx code does not appear to specify when to ack/cmpl I left them in.
- FO 09:46 PM EclaireXL 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)
Added a register timer2, which has a threshold for reset. Using that to track the angle (in us)
Used the pokey 17-bit lsfr ...
08/12/2018
- FO 09:34 PM EclaireXL Feature #73: Implement ATX disk image support
- DELAY_T2_MIN (100uS)
ACK
loadAtxSector
(NAK if failed)
DELAY_T5_MIN (300uS)
CMPL
DELAY_T3_PERIPH (150uS)
send buffer
send checksum (Should I be recomputing this?) - FO 09:31 PM EclaireXL Feature #73: Implement ATX disk image support
- Also plumbed into the atari_drive_emulator.c in a similar fashion to the xex loader.
gAtxFile = file;
u08 status; // what use is this?
... - FO 09:28 PM EclaireXL Feature #73: Implement ATX disk image support
- Made a start on this...
* Made atx.c/h build by pointing to different headers.
* Pointed delay_ms to existing wait_us. This is approximate based on a clock of 1.79MHz, will 1-2% error matter here? Will re-implement based on USB 12MHz...
08/01/2018
- FO 10:05 PM EclaireXL Bug #48 (Closed): CORE13 - Veronica BASIC not working
- Closed. Working fine with my Veronica clone and no feedback received from tester.
- FO 10:02 PM EclaireXL Feature #3 (New): High resolution antic support
- Paused until anyone uses it. If it starts getting used I might fix the offsets...
- FO 10:01 PM EclaireXL Bug #25 (New): F10 Hard Reset Ignore inserted cartridge (Core v7)
- FO 10:01 PM EclaireXL Bug #64 (Closed): Pokey pdm timing incorrect
- Found the issue when doing the pokeymax work - I'd lost some changes by accident.
- FO 10:00 PM EclaireXL Feature #72 (Closed): Implement stock Atari 400 mode
- OK, so for all intents and purposes I think its the same. At least until we add the split bus for the 800... I added 8k mode. OS A should already work, but I didn't add it to the standard profiles.
- FO 09:58 PM EclaireXL Feature #68 (Closed): Implement stock Atari 800 mode
- Great! Going to close this until I decide to add 2 bus support or you find a bug in it:-)
I mean the profiles. There are 4 slots saved to the flash chip. They are by default:
1) 576k compy pal vga with basic c and hias hi-speed patch... - FO 08:16 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- OK, I built v27. This has a single floating data bus. I also updated the os rom in slot 4 to this one:
10 KB 0x0e86d61d 4177f386a3bac989a981d3fe3388cb6c Atari OS SYSROM_B_NTSC OS-B 1981 NTSC Production ROM, OS from late NTSC Ata... - FO 10:54 AM EclaireXL Feature #68: Implement stock Atari 800 mode
- I guess it’s checking c000-cfff then?
I’ll try adding a floating data bus... - FO 07:47 AM EclaireXL Feature #68: Implement stock Atari 800 mode
- Did you load the original OS B or use the one off the jic? I think the one I included on the jic is patched. I should find the original...
- FO 07:46 AM EclaireXL Feature #68: Implement stock Atari 800 mode
- I’d better wire up the atx code so I can try it myself:)
07/31/2018
- FO 09:48 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- Fixed the beep on reset. Will build as v26. Not sure whether floating data bus if worth it. Looks like it wasn't even the same on the 400. What do you think?
- FO 09:23 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- That worked... Now for that horrible beep on reset.
- FO 09:17 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- This is due to a brk being hit when it jumps to the cart to initialize it. Making the bus 0xff when no ram present which I think will work.
- FO 08:32 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- Got signal tap on it. Gets part way through booting then hangs at address 000c. This is after memory detection itself, which seems to work fine (0xb0 to 0x0006 in 48k mode, 0x70 to 0x0006 in 32k mode).
07/28/2018
- FO 08:41 AM EclaireXL Feature #68: Implement stock Atari 800 mode
- Tried the salt xex. If I boot it on 48k, then change ram to 16k/32k it returns the expected results. i.e. ram test passes with 2 or 4 banks and rom test passes.
So not sure what is going on. Perhaps the low ram somehow effects the zpu...
07/27/2018
- FO 10:12 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- Built as v25 anyway in case anyone wants to play, but definitely more to do on this...
- FO 09:48 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- Squashed several bugs, but struggling with 16k and 32k mode for some reason, not booting.
07/25/2018
- FO 10:06 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- Got it booting again after a few small bug fixes.
Some reset issues on the 800... and it fails the XL banking acid test (which I guess should auto-disable).
Well, will fix up on Friday night. - FO 09:27 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- OK, that sounds ... fun! It won't be expensive to add support for but I need to think about it.
For now I just want the system to boot at all after my changes:-) - FO 09:03 PM EclaireXL Feature #68: Implement stock Atari 800 mode
- @farb - do you know if the protection ever needs the floating data bus? For now I've set 0xc000 to either 0xff in <52K mode or ram in 52K mode.
- FO 08:57 PM EclaireXL Feature #68 (In Progress): Implement stock Atari 800 mode
- Added Atari800 mode.
Ram selection dialog changed to system. Pressing fire toggles 800/xl/xe.
Only 16/32/48/52k supported for now.
When in 800 mode reset not connected, instead it gives an nmi to antic. So you might need to power cycl...