Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)

Basilisk II Atari

General Discussion, STOS.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3065
Joined: Tue Nov 19, 2019 12:09 pm

Re: Basilisk II Atari

Post by Badwolf »

agranlund wrote: Tue Mar 15, 2022 3:46 am Being able to debug it in Hatari is surely going to help :)
No problem.

It's right at the very start, before the framebuffer is intiialised but after the mouse pointer is hidden. You'll still be able to access menus and click on the desktop after the crash, but can't see the pointer (pressing ALT-P or some other drive letter that doesn't exist to open a window on that drive restores the mouse pointer as Teradesk opens an alert box).

Running it from bash in toswin2 just prints 'Bus Error'. Logging doesn't seem to do anything so perhaps isn't even initialsied yet either.

This might be a very small and immaterial bug, or it might lead you to something else, but hopefully it's reproducable now. :)

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1767
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

Badwolf wrote: Tue Mar 15, 2022 10:09 am This might be a very small and immaterial bug, or it might lead you to something else, but hopefully it's reproducable now. :)
That was a great catch! It would cause all kinds of seemingly random issues, or no issues at all if in luck...

uint32 cookie;
...
(getting some other cookie in the correct way)
...
isMagic = (Getcookie('MagX', cookie) == 0);
isMint = (Getcookie('MiNT', cookie) == 0);

Getcookie wants a pointer. It should of course be Getcookie('MagX', &cookie).

This was trashing random memory based on the value of previously correctly gotten cookies.
In our case the last one was a Getcookie('_FPU', &cookie) so what memory location it was corrupting depended on which type of FPU you got :)

That error was so easy to glance over when looking at the code, but ended up obvious thanks to your repro package.

It boots now with that fixed. It may fix other hidden issues too depending on what memory it had corrupted :)
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3065
Joined: Tue Nov 19, 2019 12:09 pm

Re: Basilisk II Atari

Post by Badwolf »

Great work, Anders.

I love an easy win. :thumbup:

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
mikro
Posts: 832
Joined: Mon Aug 28, 2017 11:22 pm
Location: Kosice, Slovakia
Contact:

Re: Basilisk II Atari

Post by mikro »

agranlund wrote: Tue Mar 15, 2022 11:13 amGetcookie wants a pointer. It should of course be Getcookie('MagX', &cookie).
Somebody ignored warnings and/or -Wall I presume? ;-)
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1767
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

mikro wrote: Tue Mar 15, 2022 5:46 pm
agranlund wrote: Tue Mar 15, 2022 11:13 amGetcookie wants a pointer. It should of course be Getcookie('MagX', &cookie).
Somebody ignored warnings and/or -Wall I presume? ;-)
Haha, guilty as charged :lol: :oops:
User avatar
frank.lukas
Posts: 815
Joined: Fri Jan 19, 2018 11:52 am

Re: Basilisk II Atari

Post by frank.lukas »

Works well with my PAK machine ...

030 /50Mhz (32kB L2 Cache) + FPU + 64MB Fastram

basilisk.jpg
basilisk.jpg (544.49 KiB) Viewed 2706 times

With my MACH64 Graphiccard and Nova driver it do not work !
User avatar
agranlund
Site sponsor
Site sponsor
Posts: 1767
Joined: Sun Aug 18, 2019 10:43 pm
Location: Sweden
Contact:

Re: Basilisk II Atari

Post by agranlund »

frank.lukas wrote: Tue Mar 15, 2022 7:03 pm Works well with my PAK machine ...
030 /50Mhz (32kB L2 Cache) + FPU + 64MB Fastram
With my MACH64 Graphiccard and Nova driver it do not work !
Nice!
I'll give those Nova drivers a try on my machine as well (though with an ET4000 on an STGA interface).

I remember making an attempt with these on my computer a long time ago but remember having some trouble getting it set up correctly. That could have been because of my particular hardware, or just me not understanding it correctly.
User avatar
frank.lukas
Posts: 815
Joined: Fri Jan 19, 2018 11:52 am

Re: Basilisk II Atari

Post by frank.lukas »

I test only 1280x1024 at 16,7M Colors. Today I test mono and 256 Colors ...
User avatar
frank.lukas
Posts: 815
Joined: Fri Jan 19, 2018 11:52 am

Re: Basilisk II Atari

Post by frank.lukas »

Black and White are not possible with the Nova MACH64 driver. 256 Colors works well but the MacOS make 256 greyscale from the 256 Colors !?!

basilisk_m64.jpg
basilisk_m64.jpg (522.2 KiB) Viewed 2649 times
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7498
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: Basilisk II Atari

Post by stephen_usher »

Can you not switch between monochrome and colour using the Monitors control panel?
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.
Post Reply

Return to “SOFTWARE”