It's the device ID, the one that you get by setting workin[0] to Getrez()+2 in the call to v_opnwk(), as the Compendium recommends. ID 1 means "current resolution". zero is not valid i think.Smonson wrote: 06 Mar 2020 09:35 The "modes" to go TO are actually VDI handle IDs or something like that
Modified TOS to remove resolutions limitation
-
thorsten.otto
- Posts: 148
- Joined: 04 Nov 2019 02:20
Re: Modified TOS to remove resolutions limitation
-
exxos
- Site Admin

- Posts: 28363
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Modified TOS to remove resolutions limitation
I may sound dumb, but isn't there a unused register in the shifter you can use and just use that register to switch the mono pin ? All you would need TOS wise is to enable High res in the menu and set the new register to switch to mono...
-
Smonson
- Posts: 717
- Joined: 28 Oct 2017 10:21
- Location: Canberra, Australia
Re: Modified TOS to remove resolutions limitation
Ah right - that makes sense :)thorsten.otto wrote: 06 Mar 2020 10:04 It's the device ID, the one that you get by setting workin[0] to Getrez()+2 in the call to v_opnwk(), as the Compendium recommends. ID 1 means "current resolution". zero is not valid i think.
-
Smonson
- Posts: 717
- Joined: 28 Oct 2017 10:21
- Location: Canberra, Australia
Re: Modified TOS to remove resolutions limitation
That's definitely a backup plan, but it's not as ideal as just having TOS do it in the first place. I'd also like a way to enable 320x200x256 for 16MHz machines one day and the same mechanism would be used there.exxos wrote: 06 Mar 2020 10:17 I may sound dumb, but isn't there a unused register in the shifter you can use and just use that register to switch the mono pin ? All you would need TOS wise is to enable High res in the menu and set the new register to switch to mono...
-
exxos
- Site Admin

- Posts: 28363
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Modified TOS to remove resolutions limitation
Troed I think had a patched driver to do that when he did the 16mhz mod.Smonson wrote: 06 Mar 2020 10:21That's definitely a backup plan, but it's not as ideal as just having TOS do it in the first place. I'd also like a way to enable 320x200x256 for 16MHz machines one day and the same mechanism would be used there.exxos wrote: 06 Mar 2020 10:17 I may sound dumb, but isn't there a unused register in the shifter you can use and just use that register to switch the mono pin ? All you would need TOS wise is to enable High res in the menu and set the new register to switch to mono...
https://www.exxosforum.co.uk/forum/viewt ... =110#p8331
-
Smonson
- Posts: 717
- Joined: 28 Oct 2017 10:21
- Location: Canberra, Australia
Re: Modified TOS to remove resolutions limitation
Yeah. We were just unfortunately never able to get his double-speed machine running with the FPGA mod. But he wasn't able to select the new modes from the Desktop Preferences menu, I assume he was running a small utility in AUTO or something like that to set up the extra-big modes after the machine booted up.exxos wrote: 06 Mar 2020 10:26 Troed I think had a patched driver to do that when he did the 16mhz mod.
-
exxos
- Site Admin

- Posts: 28363
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Modified TOS to remove resolutions limitation
What I was hinting at, was you seem to be trying to get TOS to open a new workstation ? If so, thats what the over scan software does.,,
EDIT:
Since TOS does all the work anyway when it detects the mono pin, might you recode that routine so instead of TOS checking the mono pin, it checks the selection in the desktop menu ?
EDIT:
Since TOS does all the work anyway when it detects the mono pin, might you recode that routine so instead of TOS checking the mono pin, it checks the selection in the desktop menu ?
-
Smonson
- Posts: 717
- Joined: 28 Oct 2017 10:21
- Location: Canberra, Australia
Re: Modified TOS to remove resolutions limitation
I see. No, it's opening whatever default physical workstation it needs at boot time, I just want it to do that successfully without crashing. The next thing I'm going to do is have a bunch of status variables that I can use for holding debugging info, and a little program to print it out.exxos wrote: 06 Mar 2020 10:48 What I was hinting at, was you seem to be trying to get TOS to open a new workstation ? If so, thats what the over scan software does.,,
-
Smonson
- Posts: 717
- Joined: 28 Oct 2017 10:21
- Location: Canberra, Australia
Re: Modified TOS to remove resolutions limitation
I tried it, but I always see a bus error (2 bombs) and an infinite reset loop if I set it up that way. I don't know why.exxos wrote: 06 Mar 2020 10:48 Since TOS does all the work anyway when it detects the mono pin, might you recode that routine so instead of TOS checking the mono pin, it checks the selection in the desktop menu ?
-
exxos
- Site Admin

- Posts: 28363
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Modified TOS to remove resolutions limitation
I can only assume if you set up a software register, that tos is checking for that as a physical register, as in hardware, not software ?Smonson wrote: 06 Mar 2020 11:18 I tried it, but I always see a bus error (2 bombs) and an infinite reset loop if I set it up that way. I don't know why.
Who is online
Users browsing this forum: ClaudeBot and 5 guests