EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

News,announcements,programming,fixes,game patches & discussions.
User avatar
exxos
Site Admin
Site Admin
Posts: 28610
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by exxos »

Not sure if @thorsten.otto or @BlankVector have any idea whats going on here ?

Note this is when the CPU is running 50MHz, something is tripping up and no idea what :( Though EMUTOS does seem to behave better with Ultrasatan than TOS206.. no idea why ?

IMG_4805.JPG
IMG_4805.JPG (128.84 KiB) Viewed 6255 times
IMG_4804.JPG
IMG_4804.JPG (142.44 KiB) Viewed 6255 times

Oddly I can load a PRG a few times just fine, then it gets corrupted... note that the HDD doesn't work at all in TOS206, it mostly attempts to load the drive and crashes.

IMG_4806.JPG
IMG_4806.JPG (110.76 KiB) Viewed 6251 times
IMG_4807.JPG
IMG_4807.JPG (103.11 KiB) Viewed 6247 times
IMG_4808.JPG
IMG_4808.JPG (74.66 KiB) Viewed 6244 times

Mostly just seem to get random errors which doesn't help :roll:


EDIT:

So far, EMUTO & 40MHz OSC seems to mostly behave. TOS206 just seems to give garbage at power up and doesn't boot with ultrasatan plugged in .
User avatar
BlankVector
Posts: 93
Joined: Fri Sep 15, 2017 10:51 pm

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by BlankVector »

Humm, hard to say... Indeed, this looks like random crashes. Maybe RAM issues?
On first screenshot, SR=2400 means that the VBL interrupt is being processed, maybe this is a clue... But there is nothing similar on other screenshots.
Definitely, something is unstable. But what?
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Display a color pixel in assembly language on Atari ST.
User avatar
exxos
Site Admin
Site Admin
Posts: 28610
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by exxos »

@BlankVector

It seems more stable now with TOS206, but EMUTOS keeps coming up with this every boot now ?

IMG_4809.JPG
IMG_4809.JPG (132.68 KiB) Viewed 6217 times
User avatar
exxos
Site Admin
Site Admin
Posts: 28610
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by exxos »

I think that was a bad connection above :roll:

EMUTOS, 104 & 206 All behave the same now, in that when ultrasatan is plugged in, the floppy drive stops working :roll:
User avatar
Cosmic Puppet
Posts: 1734
Joined: Fri Aug 02, 2019 1:03 am
Location: Angus!
Contact:

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by Cosmic Puppet »

I've had the floppy issue too. When I use MSA converter to unpack an MSA file to a floppy disk. It displays gibberish unless I reboot and then the disk contents looks normal. I only use the floppy drive to appease notator as it automatically checks for a disk and for converting MSA files. If I try and mix hardisk and floppy ie. backing up notator songs on the floppy I just wind up with corrupted files so I started keeping them separate.
US Atari 520 STFM (C070523-001 REV.D1) , Exxos PSU, 4MB Marpet Upgrade, Exxos 6 Chip TOS 1.04 USA, EmuTOS 1.0.1, Ultrasatan, PP Driver, Original Floppy Disk Drive, NEC Multisync EA193Mi Monitor, Star LC-10c Printer, iMP C100110-001 DMA.

https://thecosmicpuppets.bandcamp.com/releases My released music so far...
User avatar
exxos
Site Admin
Site Admin
Posts: 28610
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by exxos »

@BlankVector

While doing some tweaks, I ran into this now just after EMUTOS boot screen, any ideas whats tripping up ? oddly it can pass all tests in the diagnostic cart...

IMG_4830.JPG
IMG_4830.JPG (81.88 KiB) Viewed 6129 times
czietz
Posts: 587
Joined: Sun Jan 14, 2018 1:02 pm

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by czietz »

Well, I'm not Vincent, but I'm a bit familiar with EmuTOS, too.

It crashes somewhere in the floppy code, presumably somewhere where it's setting the drive and side selection lines of the YM2149 (PSG). (Telltale sign: the contents of A0.) The crash cannot be located more exactly, because we don't know the exact EmuTOS version (+ language) that you're using in your tests.

Now, why does it crash? We can say with certainty that EmuTOS does not contain any "illegal instructions" in that bit of code. ;) Therefore, it must be something related to your hardware setup. Simply a corrupt ROM image? Or maybe accessing the YM2149 somehow disturbs the accelerated CPU's access to code in ROM? (Note that the YM2149 is somewhat special because it's the only(?) peripheral in the ST where an access takes an odd number of 8 MHz cycles: http://atari-forum.com/viewtopic.php?f= ... 1&#p338191.)
User avatar
exxos
Site Admin
Site Admin
Posts: 28610
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by exxos »

Ah yep, I keep blaming the DMA and forgot about the YM chip :roll: I mostly get 4 bombs when it tries to access the floppy with TOS206, but sometimes a row of bombs, and yes, this is hardware tripping up ; )
czietz
Posts: 587
Joined: Sun Jan 14, 2018 1:02 pm

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by czietz »

Four bombs is Atari TOS's way to signal an illegal instruction. Maybe your booster is trying to read the next instruction from ROM while the YM2149 access is not yet finished and data bits "mix" on the bus? Like I wrote before, any YM2149 access will have a waitstate inserted into the bus cycle.
User avatar
exxos
Site Admin
Site Admin
Posts: 28610
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: EMUTOS & ULTRASATAN & SEC BOOSTER CRASHES

Post by exxos »

czietz wrote: Tue Jan 21, 2020 7:36 pm Four bombs is Atari TOS's way to signal an illegal instruction. Maybe your booster is trying to read the next instruction from ROM while the YM2149 access is not yet finished and data bits "mix" on the bus? Like I wrote before, any YM2149 access will have a waitstate inserted into the bus cycle.
I solved the issue, I wasn't using ST_AS on the SND_CS code :roll:
Post Reply

Return to “SOFTWARE PROGRAMMING & DISCUSSION”