FDC cookie

News,announcements,programming,fixes,game patches & discussions.

Moderator: troed

User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: FDC cookie

Post by PaulJ »

Very nice, I like the 1.44HD disk as used on the falcon. This will provide a good access point to exchange files with.
Nice work @exxos ,@Icky :thumbup: :thumbup: :thumbup:
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 10616
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: FDC cookie

Post by rubber_jonnie »

Doesn't TOS look for a specific bridged jumper on the STE in order to enable HD floppy support in TOS 2.06? I know it doesn't mean you can use HD floppies without the MOD, but maybe it requires a hardware jumper and not just the cookie setting in order to work?

Just my random thoughts.
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
exxos
Site Admin
Site Admin
Posts: 23763
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: FDC cookie

Post by exxos »

@rubber_jonnie we have that jumper emulated in hardware, so it is set, only that register is never access for some reason..
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 10616
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: FDC cookie

Post by rubber_jonnie »

@exxos Ah, ok I see. Could there be something that is specifically STE related which means it won't work?
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
exxos
Site Admin
Site Admin
Posts: 23763
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: FDC cookie

Post by exxos »

So exxos got pi**ed off and did a binary hack in the OS...


:twisted: :twisted: :twisted:

2.JPG
2.JPG (57.45 KiB) Viewed 3280 times


Had a small side-effect :lol: :roll:

Capture.JPG
Capture.JPG (29.06 KiB) Viewed 3280 times

But for my first hack I think I did pretty well :lol:
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Icky
Site Admin
Site Admin
Posts: 3993
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: FDC cookie

Post by Icky »

:bravo: - This has been eating away at you and me this last week. More you than me :wink:

At least its tracked down that its never going to work with the DIP switch settings on an STF as its also machine type specific i.e. STE
User avatar
exxos
Site Admin
Site Admin
Posts: 23763
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: FDC cookie

Post by exxos »

@Icky Yeah, the source is a mess! it seems to be literally checking for a STE machine.. I haven't yet quite followed exactly how it is doing that yet.. But I did not want to fake a STF machine as a STE anyway.. is more curiosity than anything... I will go snoop now actually...

EDIT:

Code: Select all

#if (TOSVERSION < 0x300) | TP_50
			move.b    #90,(v_bas_l).w           /* write low byte of video address */
			tst.b     (v_bas_m).w               /* access the medium byte */
			move.b    (v_bas_l).w,d0            /* (which should reset the low byte on an STE!) */
			cmp.b     #90,d0                    /* reset? */
			bne.s     nostedetect               /* yes => STE detected */
			clr.b     (v_bas_l).w               /* clear the low byte again */
			tst.w     (palette).w               /* access the color palette */
			tst.b     (v_bas_l).w
nostedetect:
            sne       STEFlag               /* <>0 => no STE hardware available */
#else
        sf        STEFlag
#endif

Something to do with the video address register then :shrug: Also looks like after that code it checks for DMA sound as well.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Post Reply

Return to “SOFTWARE PROGRAMMING & DISCUSSION”