Page 1 of 2

Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 3:10 pm
by napsternds
Hello,

Using the emulator by Mark Swift from this post (https://www.qlforum.co.uk/viewtopic.php?p=49835#p49835), I am trying create a hardisk file with some programs of my interest (using the Habi tool to add files to the QUBIDE image).

I am using WinUAE 4.9.0, and I have been able to run Psion package, Psion Chess and some others programs. I am now trying to get PE running, but I get a "not implemented" error message when executing HOT_GO command after loading the PE extensions.

I assume all files (extensions, boot prog, etc.) are OK because I can get everything running properly using the same files on QemuLator.

Could anyone have a clue about what I am missing?

Ultimate goal is running this with the A500Mini. Actually, the emulator works fine in the Mini (same HOT_GO error), but I am trying to get a working disk image using winUAE before sharing it here.

Thank you

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 5:16 pm
by Derek_Stewart
Hi

Since you are running QDOS Classic on WinUAE, which only gives a JS Rom environment.

To run the Pointer Environment, you need to load:

PTR_GEN
WMAN
HOT_REXT

in that order.

You can then load QPAC2, which would give the Extended Environment.

Look at the QPAC2 example boot files, which show jow to load the Pointer Environment and QPAC2.

I see if I can get a Windows PC to run with WinUAE, though I have Linux FS-UAE running, which may use the QDOS boot rom.

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 5:35 pm
by napsternds
Thank you Derek,

This is the boot file I am using:

Code: Select all

100 WINDOW #0,512,42,0,214: BORDER #0,1,4*9+192
110 WINDOW #1,256,182,256,30: BORDER #1,1,7*9+192
120 WINDOW #2,256,182,0,30: BORDER #2,1,7*9+192
130 MODE 4
140 base=RESPR(16384):LBYTES win1_pe_TKII220_rom,base:CALL base+PEEK_W(base+6)
150 base=RESPR(18480): LBYTES win1_pe_PTR_GEN, base: CALL base
160 base=RESPR(18886): LBYTES win1_pe__WMAN, base: CALL base
170 base=RESPR(11792): LBYTES win1_pe__HOT_REXT, base: CALL base
180 ERT HOT_RES('a', 'win1_pe__qpac1_alarm')
190 ERT HOT_RES('c', 'win1_pe__qpac1_calc')
200 ERT HOT_RES('k', 'win1_pe__qpac1_clndr')
210 ERT HOT_RES('m', 'win1_pe__qpac1_sysmon')
220 ERT HOT_RES('w', 'win1_pe__qpac1_typer')
221 ERT HOT_RES('q', 'win1_pe__qtrans_obj')
230 ERT HOT_PICK('b', ' ')
240 HOT_GO
250 PRINT "Pulsa ALT+TECLA, CTRL+C para cambiar de   aplicacion. CURSORES + ESPACIO mover      cursor/clic"
260 HOT_DO 'm':PAUSE 50: HOT_LIST
I get the "not implemented" error at line 180, so I assume extension are properly loaded. If I try "HOT_GO" from the basic prompt, I get the "not implemented" error

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 6:05 pm
by tofro
If you really get the ERR_NI at 150, then it's PE that's complaining, not Hotkey System II (the HOT_GO complaining with ERR_NI seems to be an after effect of that).

What version of the PE are you using and have you tried different versions?

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 6:24 pm
by napsternds
tofro wrote: Sun Jan 29, 2023 6:05 pm If you really get the ERR_NI at 150, then it's PE that's complaining, not Hotkey System II (the HOT_GO complaining with ERR_NI seems to be an after effect of that).

What version of the PE are you using and have you tried different versions?

Oooopps! I get the error at line 180 (corrected now). I have tried different versions with the same result.

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 8:21 pm
by Andrew
I might be nothing, but in lines 160 to 221 you have 2 underscores between pe and the next word (eg line 160 : pe__WMAN instead of pe_WMAN)

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 8:48 pm
by napsternds
Andrew wrote: Sun Jan 29, 2023 8:21 pm I might be nothing, but in lines 160 to 221 you have 2 underscores between pe and the next word (eg line 160 : pe__WMAN instead of pe_WMAN)
Another typo Andrew. Thank you. That was a typo on my side at paste. I have checked and simplified boot file. I get the same:

Code: Select all

10 LRESPR win1_pe_ptr_gen
20 LRESPR win1_pe_wman
30 LRESPR win1_pe_hot_rext
40 HOT_GO
At line 40 not implemented

Same files & same boot work fine with QemuLator, I guess it can be something related to the QDOSclassic ROM, but no idea

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Sun Jan 29, 2023 9:50 pm
by Andrew
What versions of ptr_gen, wman and hot_rext are you using?
Well, it might be that there still are some bugs in the emulator. Mark Swift might help you with that.

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Mon Jan 30, 2023 12:06 am
by desin
Hello
try this boot disk
QDOS CLASSIC BOOT.zip
(239.11 KiB) Downloaded 92 times
Markus

Re: Cannot run HOTKEYS using QDOSClassic ROM in Win UAE

Posted: Mon Jan 30, 2023 6:35 pm
by napsternds
desin wrote: Mon Jan 30, 2023 12:06 am Hello
try this boot disk

QDOS CLASSIC BOOT.zip

Markus
It works great. Thank you. Now I have a nice example of a boot file to study and learn from.

Again, thank you so much!!!