Basilisk II Atari

General Discussion, STOS.

Moderator: troed

User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

Maybe not the most important or useful feature but I think it's cool and that's good enough for me :lol:

Pressing UNDO toggles between fit-to-screen and 1:1 zoom in ST and TT Low Resolution.

User avatar
stephen_usher
Posts: 5577
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Basilisk II Atari

Post by stephen_usher »

Sounds good to me! :-)
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

Latest version:
http://www.happydaze.se/wp-content/uplo ... 220625.zip

Changes:
- Better default audio settings, based on the hardware you have
- Some fixes for certain CT60 configs

Graphics emulation related:
- Added a frameskip option. 0 is off, default is 1
- Removed all the CMP acceleration stuff
- Graphics emulation is generally faster under "most" conditions
- Pressing UNDO toggles zoom mode in ST- and TT Low resolution
marss
Posts: 40
Joined: Sat Aug 25, 2018 11:09 pm

Re: Basilisk II Atari

Post by marss »

Hi,
Unfortunately, on CT060 (TOS or Mint+Myaes), there is a black border around a white screen and that's it ;(
The last working CT060 version to work perfectly dates from 220408 ;)
Would you consider Radeon owners?
Thanks.
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

marss wrote: Sun Jun 26, 2022 4:51 pm Unfortunately, on CT060 (TOS or Mint+Myaes), there is a black border around a white screen and that's it ;(
The last working CT060 version to work perfectly dates from 220408 ;)
Hi @marss, the guy who usually tests CT60 is on vacation so it's quite possible I mucked something up on that platform.

The latest version attempts to maybe fix an issue reported by another CT60 owner - where the 220611 build was locking up on startup (white screen) when "TOS in RAM" is enabled in the CT60 config utility - but it would run with that option disabled.
I haven't heard back so I don't know yet if 220625 fixed the TOS-in-RAM issue or not, or if it completely broke everything on CT60 :lol:

All in all it's had quite limited testing on CT60, it's mostly been on one computer as far as I know, so I'm sure there are still issues to solve before it works on all the different combinations of OS, software and bios/cpu settings.

Do you have a log file from BasiliskII? It's not really going to say why it crashes on early init but it'll give some valuable information about the cpu settings.

You could try:
does it work in Mono mode (ie; without graphics emulation)
does it work in some other Falcon video mode?
does disabling cache, or just certain cpu options, help? (I have no idea which, if any settings of these kinds are exposed in the CT60 config utility)
possibly try some other Mac rom, but if you had it working in the 220408 build then I assume you're using a 68040 compatible rom image anyway.

But the previous build (220611) did run on two CT60's so I'm guessing it's incompatible with something in you setup. would be nice to find out what so I can fix it :)
marss wrote: Sun Jun 26, 2022 4:51 pm Would you consider Radeon owners?
I don't know much about these, but from what I can tell by some example code I found it doesn't seem like it should be terribly hard to support them either. But for something like that you really want hardware at hand else you're just coding blind. Perhaps someone else is interested in adding CTPCI and Radeon support.
marss
Posts: 40
Joined: Sat Aug 25, 2018 11:09 pm

Re: Basilisk II Atari

Post by marss »

Hi and thanks for having taken the time for the explanation ;)
This is my log

Code: Select all

Entering Prefs editor
Exiting Prefs editor
Basilisk II V1.1 by Christian Bauer et al.
Atari: 68060, FPU: 00 MCH: 00030000 TOS: 0404
Mac:   68040, FPU: 00 MDL: 5
IrqSafe: No
Opening ROM: 'IISI.ROM'
Disabling cpu cache (512k ROM on 68040+)
Free ST-RAM: 13699800
Free TT-RAM: 532174016
Free Block:  532174016
Queryscreen
 Physical workstation: 1
 Virtual workstation: 5
 EdDI: 01054a26
Mem request: 525133Kb (519168 + 512 + 64 + 128 + 1165 + 4096)
Allocating Host memory (513024 + 512 + 64 Kb)
HostMemChunk: 0x011fab40
Reading ROM
SysInit
 Cache: 4096Kb (128 blocks)
 XHDI: 1 : Yes
 AHDI: 1 : 0600
Setup zero page
Setting up VBR
 oldVbr  = 0x00000000
 tosVbr  = 0x011d27b6
 macVbr  = 0x011d23b6
Disabling cpu cache (512k ROM on 68040+)
 oldPcr  = 0x04300601
 newPcr  = 0x04300621
 oldCacr = 0xa0808000
 tosCacr = 0x00000000
 macCacr = 0x80008000
 Original:
 tc:  0000c210
 srp: 20e36000
 urp: 20e36000
 it0: 807fe040
 dt0: 807fe040
 it1: 403fe040
 dt1: 403fe040
Create MAC MMU config
 InitMMU040: Start
 InitMMU040: Created
 InitMMU040: Flush ATC
 InitMMU040: Flush Cache
 InitMMU040: Done
 tc:  00008000
 srp: 20b8b000
 urp: 20b8b000
 it0: 00000000
 dt0: 00000000
 it1: 00000000
 dt1: 00000000
Flushing cache
ZeroPage setup complete
Init emulation
Sys_open: 'hdd.dsk'
 Disk size = 52428800
AudioInit
AudioInit : nosound
VideoInit
Queryscreen
 VDI: 640x400x16 (chunky)
      1 planes, 1280 bytes per line
 VDO: 00030000
 FMT: 00000410
 ScreenPtr: 00d72f00
 Logbase:   00d72f00
 Physbase:  00d72f00
 Hardware:  Videl
 Backing up hw palette
 Creating video modes
   Added video mode: w=640  h=400  d=4
   Added video mode: w=512  h=384  d=4
   Added video mode: w=512  h=342  d=4
 Video mode is semi-native
 Driver setup
InitInput 640, 400
 VideoInit done
Start emulation
Mac RAM: 011fab40 (513024)
Mac ROM: 206fab40 (512)
Mac SCR: 20782b40 (64)
Mac SP:  011cb3fc
marss
Posts: 40
Joined: Sat Aug 25, 2018 11:09 pm

Re: Basilisk II Atari

Post by marss »

I would be happy to test the next builds for the 060, too ;)
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

marss wrote: Sun Jun 26, 2022 9:11 pm Hi and thanks for having taken the time for the explanation ;)
This is my log
Thanks! There are some interesting bits in there :)

rom image:
The MacII SI rom did use to at least boot on 68040+ at some point. You don't really want to use it since the whole thing will be incredibly slow, but the idea was that the emulator detects it and then kills all kinds of cpu caches so that it at least (hopefully) starts even though that rom is not really compatible with your cpu..
Looking at the log, and then the code, it seems it isn't quite killing all the caches so that bit probably broke at some point.

I should fix that.
But still, I really don't recommend using 512k roms since they are super old, usually quite hardware specific, and not 68040 aware at all.
On second thought, perhaps I should just pop up a message and refuse to launch with such rom.

I actually don't recommend using them on 68030's either unless you are very short on ram.
I use the 1MB LCIII rom here on my 68030 machine.

The LCIII rom might work on 68040+ too, but I'm not sure.
The better option is some kind of Quadra ROM. I don't know which one is most compatible with BasiliskII on a "68060 pretending to be a 68040" but I would give the Quadra 650 rom a go - that's the one recommended for the PC version of BasiliskII with 68040 emulation.

model id:
I would set the model to Quadra just in case the rom, macos, or some application is using that information to decide if it should be doing 68030 or 68040 things.
("modelid 14" in basilisk.inf, or using the GUI)

memory:
I don't know how different roms react to 512MB RAM. None of them officially supported that much but it's probably fine with Quadra roms.
I'm only really bringing it up since I don't actually know if that MacII SI rom freaks out if it sees 448MB more RAM than it officially supports :lol:
You can limit how much ram the mac side gets with "ramsize <mb>" in basilisk.inf but I don't think you'll need to.

video:
The log is saying: "Video mode is semi-native"
I don't know if it's on purpose but that indicates that video emulation was disabled in the options and it'll do native 16bit (with incorrect colors).
Don't think this has any impact on why it's crashing on startup though.


Since you had IISI as the rom I'm guessing you kept your existing basilisk.inf.
It might be worth replacing it with the one that came with the last build in case there are incompatibilities in some of the options.

If you're not getting a quadra rom working either then perhaps check without the ct60 option for "rom in ram" and see if that makes it work.

Cheers, and sorry for the wall of text :)
--Anders
User avatar
stephen_usher
Posts: 5577
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Basilisk II Atari

Post by stephen_usher »

Surely, for an 040 machine using the LC475 ROM would be the best in this case? It may also be usable with an 030 seeing as it’s basically an upgraded LCIII.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
agranlund
Posts: 777
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

stephen_usher wrote: Mon Jun 27, 2022 7:17 am Surely, for an 040 machine using the LC475 ROM would be the best in this case? It may also be usable with an 030 seeing as it’s basically an upgraded LCIII.
Yep, I would think that one is probably good too? This table doesn't seem to indicate any problems at least:
https://docs.google.com/spreadsheets/d/ ... =840977089

(Here's a topic regarding BasiliskII and rom images in general)
https://www.emaculation.com/forum/viewtopic.php?t=10645
Post Reply

Return to “SOFTWARE”