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 »

marss wrote: Mon Jun 27, 2022 1:04 pm The 220408 version works great with 060+CTPCI
I will try to change the settings in the CT060 utility, too
220408 would have been running quite "slow" with the IISI rom though?
Slow, as in much too slow for a 68060... but still faster than on my machine though :)
Was that build working fine with a Quadra rom on your machine as well?

You could try this one:
http://www.happydaze.se/wp-content/uplo ... 20627.zip

And see if it works when you cripple it by adding the following to basilisk.inf:

Code: Select all

cpu_cacr_tos 0
cpu_cacr_mac 0
Could possibly even try with this (although I doubt 060 superscalar mode is the problem)

Code: Select all

cpu_pcr 20
And if you already have basilisk.inf open you may as well, even though I'm sure it's not going to make a difference:

Code: Select all

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

Re: Basilisk II Atari

Post by stephen_usher »

Well, both the LC475 and LC630 ROMs work fine with the LC630 "feeling" a bit faster.

However, the benchmarks show that this latest revision is a bit slower again in ST-HIGH mode (native):

Screenshot_2022-06-27_20-00-53.jpg
Screenshot_2022-06-27_20-00-53.jpg (462.75 KiB) Viewed 1271 times

THere's also a slightly strange palette choice, though Exxos will like it as it make s a pink Mac in to top right corner. :-)

P.S. The way I make the disk access speed fast is to increase the MacOS disk cache to its maximum, which is just over 7MB. With the standard 32K the disk speed is about a third of that of the Mac Classic.
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 8:08 pm THere's also a slightly strange palette choice, though Exxos will like it as it make s a pink Mac in to top right corner. :-)
Aha! Maybe I should add an Exxos mode where everything are shades of pink :D

stephen_usher wrote: Mon Jun 27, 2022 8:08 pm P.S. The way I make the disk access speed fast is to increase the MacOS disk cache to its maximum, which is just over 7MB. With the standard 32K the disk speed is about a third of that of the Mac Classic.
Oh, great tip! I'm going to try that here too :)

stephen_usher wrote: Mon Jun 27, 2022 8:08 pm Well, both the LC475 and LC630 ROMs work fine with the LC630 "feeling" a bit faster.
However, the benchmarks show that this latest revision is a bit slower again in ST-HIGH mode (native):
The main interrupt handler has definitely kept growing and that'll have an impact on performance.
One of these days I'll need to make an optimisation pass, there are quite a few things that can be done.
It may also be overly aggressive in regards to cache flushes at the moment, and context switches could be cheaper in some cases.

Sometimes it's also hard to know for sure when it actually gets slower, or when Speedometer gets more accurate :)

The current versions video emulation may be slower than the previous one in cases where a lot of screen is changed, but faster when less is.
Exactly where the threshold is is hard to say and will also depend on the difference in speed of fastram vs st-ram (that difference is huge on my computer, but I'd imagine it's less on a TT)
marss
Posts: 40
Joined: Sat Aug 25, 2018 11:09 pm

Re: Basilisk II Atari

Post by marss »

220408 version with Quadra works great ;)
marss
Posts: 40
Joined: Sat Aug 25, 2018 11:09 pm

Re: Basilisk II Atari

Post by marss »

Unfortunately, not working in 060 mode after many options ;(

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: 14
IrqSafe: No
Opening ROM: 'QUADRA.ROM'
Free ST-RAM: 13699800
Free TT-RAM: 532173036
Free Block:  532173036
Queryscreen
 Physical workstation: 1
 Virtual workstation: 5
 EdDI: 01054a26
Mem request: 72013Kb (65536 + 1024 + 64 + 128 + 1165 + 4096)
Allocating Host memory (65536 + 1024 + 64 Kb)
HostMemChunk: 0x011faf14
Reading ROM
SysInit
 Cache: 4096Kb (128 blocks)
 XHDI: 1 : Yes
 AHDI: 1 : 0600
Setup zero page
Setting up VBR
 oldVbr  = 0x00000000
 tosVbr  = 0x011d2b8a
 macVbr  = 0x011d278a
 oldPcr  = 0x04300601
 newPcr  = 0x04300620
 oldCacr = 0xa0808000
 tosCacr = 0x00000000
 macCacr = 0x00000000
 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: 0570b000
 urp: 0570b000
 it0: 00000000
 dt0: 00000000
 it1: 00000000
 dt1: 00000000
Flushing cache
ZeroPage setup complete
Init emulation
Sys_open: 'hdd.dsk'
 Disk size = 52428800
AudioInit
 req hz:22050 sz:8 ch:1
 got hz:25033 sz:8 ch:1
 drv=1, 011e8fa8, buf=00066428, len=2048
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
   Added video mode: w=640  h=400  d=3
   Added video mode: w=512  h=384  d=3
   Added video mode: w=512  h=342  d=3
 Video mode is emulated
 Allocating 773 kb for emulation buffers
 emulatedScreen: 05793000 (640, 400, 4)
 compareBuffer:  05813000
 pageTable:      0572334c (4096 12 -16)
 Driver setup
InitInput 640, 400
 VideoInit done
Start emulation
Mac RAM: 011faf20 (65536)
Mac ROM: 051faf20 (1024)
Mac SCR: 05302f20 (64)
Mac SP:  011cb7d0
marss
Posts: 40
Joined: Sat Aug 25, 2018 11:09 pm

Re: Basilisk II Atari

Post by marss »

the inf.

Code: Select all

disk hdd.dsk
seriala ser
serialb par
rom QUADRA.ROM
bootdrive 0
bootdriver 0
ramsize 64
frameskip 1
modelid 14
fpu true
nocdrom false
nosound false
nogui false
keyboardtype 5
diskdevmode 3
diskcache true
logging file
logging_full false
irqsafe false
sound_driver 1
sound_freq 22050
sound_channels 1
sound_bits 8
mouse_speed 8
video_mode 0
video_emu true
video_mmu true
video_cmp false
video_debug 0
cpu_cacr_tos 0
cpu_cacr_mac 0
cpu_pcr 20
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, check if this one brings back a little speed on your machine
http://www.happydaze.se/wp-content/uplo ... 220630.zip

I never had a cpu score over 12x before :)

IMG_6323 copy.jpg
IMG_6323 copy.jpg (116.77 KiB) Viewed 1165 times

Got rid of some overhead in the interrupt dispatcher.
Mac timer emulation is now cheaper, almost the same as it was before I added support for high-resolution timers (needed by Warcraft 1 & 2).
User avatar
stephen_usher
Posts: 5578
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Basilisk II Atari

Post by stephen_usher »

OK, will do, but I don't know if I'll have time tonight to do this.
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
stephen_usher
Posts: 5578
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Basilisk II Atari

Post by stephen_usher »

OK, found time to test in the end...

Screenshot_2022-06-30_20-56-35.jpg
Screenshot_2022-06-30_20-56-35.jpg (426.22 KiB) Viewed 1122 times

Screenshot_2022-06-30_21-04-17.jpg
Screenshot_2022-06-30_21-04-17.jpg (418.52 KiB) Viewed 1122 times


A reasonable speed increase across the board. :-)

Oh, one thing I forgot to mention about these last few releases. If I attempt to change video mode after returning to the GEM desktop I get two bombs and I have to hard reset with the reset switch.
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: Thu Jun 30, 2022 9:14 pm A reasonable speed increase across the board. :-)
That's a pretty good increase!

Though I believe we can get it a bit better. It's still trading some speed for the purpose of making the interrupt emulation code easier.
I'm quite impressed with my Atari reaching 92% of a theoretical 50Mhz LCIII but slightly bothered by the TT only getting 83% of its imaginary counterpart :)


Extrapolating from the LCIII scores I get this:

Anders: ~46Mhz LCIII (92%)
12.357 / 6.73 = 1.836107 * 25 = 45.90267
12.357 / 8.83 = 1.399434 * 33 = 46.18131

Stephen: ~26.5Mhz LCIII (83%)
7.12 / 6.73 = 1.057949 * 25 = 26.44873
7.12 / 8.83 = 0.806342 * 33 = 26.60929

Code: Select all

LCIII (50) 13.46  50Mhz
TF536      12.36  50Mhz
IIfx       11.45  40Mhz
LCIII+      8.83  33Mhz
LCIII (32)  8.61  32Mhz
TT          7.12  32Mhz
LCIII       6.73  25Mhz
stephen_usher wrote: Thu Jun 30, 2022 9:14 pm Oh, one thing I forgot to mention about these last few releases. If I attempt to change video mode after returning to the GEM desktop I get two bombs and I have to hard reset with the reset switch.
Thanks! I'll see if I can hopefully repro that here.
Shutdown code has always been a bit dodgy, I'm hoping to find the cause there.
Post Reply

Return to “SOFTWARE”