Mouse & Shared folder

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

marciot42
Inquisitive Elf
Posts: 39
Joined: Wed Feb 26, 2014 2:21 pm

Re: Mouse & Shared folder

Post by marciot42 »

mabam wrote: Sun Jan 02, 2022 1:36 pm The icon shows when the extensions are loaded during boot. It does not appear in the System Extensions folder though, there “USB Tablet INIT” shows a blank icon as before.
In order for the icon to show up on the desktop, you need to set a unique creator for the file, then add a BNDL, FREF, and creator resource to the file, as described in the "Using the Finder Interface" chapter of Inside Macintosh Toolbox Essentials.
marciot42
Inquisitive Elf
Posts: 39
Joined: Wed Feb 26, 2014 2:21 pm

Re: Mouse & Shared folder

Post by marciot42 »

It doesn't seem like I can attach files here, but I was able to get the desktop icon to show up by making the following changes in ResEdit:

- Created a new BNDL resource (I did this in the INIT, but it should be done in the resource used for the build)
- Set the Signature field to USBT
- Selected "Create New File Type"
- Typed "INIT" in the "Type" field
- Double clicked the icons and selected the appropriate icon family
- Optional: Edit the newly created "USBT" resource using "Open using Template" for "STR " and type in the version info. This will show up under the Get Info box in the Finder.
- Selected "Get Info for USB Table Init"
- Checked "Has BNDL" (this might be an option in the compiler IDE, under build settings, so you don't need to manually change it every time)
- Copied the file to a new disk so the Finder would update the icon (alternatively, you could rebuild the desktop on the disk by holding Command and Option at startup)
kanjitalk755
Apple Corer
Posts: 239
Joined: Thu Nov 09, 2017 12:06 pm

Re: Mouse & Shared folder

Post by kanjitalk755 »

Thank you for the detailed explanation :smile:
I completely forgot about the BNDL resource :oops:

I have released a new version.
User avatar
mabam
Master Emulator
Posts: 497
Joined: Wed Apr 10, 2013 9:32 am

Re: Mouse & Shared folder

Post by mabam »

Works as advertised. Thank you again!
User avatar
mabam
Master Emulator
Posts: 497
Joined: Wed Apr 10, 2013 9:32 am

Re: Mouse & Shared folder

Post by mabam »

mabam wrote: Sat Jan 01, 2022 10:52 pm I’ve created an icon for the INIT. Find “USB Tablet INIT icon.zip” at https://c.web.de/@337526389169198226/Yi ... XaxP0sxWmw and extract it. It contains the resources icl4, icl8, ICN#, icns, ics#, ics4, and ics8.

As the icon is now integrated to kanjitalk755’s GitHub repository, I’ve deleted it from the above link.
mcayland
Mac Mechanic
Posts: 152
Joined: Sun Nov 01, 2015 10:33 pm

Re: Mouse & Shared folder

Post by mcayland »

adespoton wrote: Fri Dec 17, 2021 12:41 am Mark, on item two, is there any interest in adding video breakout code to qemu-m68k like Mini vMac and BII use? It allows the actual emulator to be content with shared RAM/VRAM but support a real screen of arbitrary size and depth. A bit outside what qemu usually supports though.
The QEMU generic framebuffer code quite happily supports arbitrary VRAM and screen sizes/depth - the issue is how to communicate the settings from MacOS to the emulator. Currently this is done by analysing the writes done to the display control registers by MacOS when changing screen size/depth using the in-built driver as on a real Q800. Hence why QEMU is (currently) limited to these resolutions.

If you want more flexibility then you'll need to write a corresponding MacOS driver and emulated framebuffer hardware: probably the best way to do this is to define a custom Nubus framebuffer card and Declaration ROM which allows plenty of space for larger framebuffers, up to 256M if the Nubus super-slot area is used.

Alas my TODO list is getting longer all the time so it is unlikely I will get around to this in the short term, but I am certainly willing to advise on the QEMU side for other people who are interested enough to work on this.
elliotnunn
Student Driver
Posts: 17
Joined: Sun Sep 11, 2016 6:35 am

Re: Mouse & Shared folder

Post by elliotnunn »

I have refactored kanjitalk's excellent USB Tablet INIT into a command line argument to QEMU.

When this is added to your QEMU command line, absolute mouse positioning works without installing an INIT. Right click is emulated as control-click.

Code: Select all

-device usb-tablet -prom-env 'use-nvramrc?=true' -prom-env nvramrc=\
': b64 do 0 4 0 do 6 lshift i j + c@ 2e - dup b > 7 and - dup 25 > 6 and - or'\
' loop 3 0 do dup c, 8 rshift loop drop 4 +loop ; variable lzd variable lzi :'\
' lzp c@ dup c, lzd @ lzi @ + c! lzi @ 1+ fff and lzi ! ; : lz lzd ! fee lzi '\
'! 1 -rot do dup 1 = if drop i c@ 100 + 1 else dup 2 / swap 1 and if i lzp 1 '\
'else i 1+ c@ i c@ over f0 and 4 lshift + swap f and -3 do dup lzd @ + lzp 1+'\
' fff and loop drop 2 then then +loop drop ; 20 parse PofzQ03tNaNZRr1z.4Bk.E.'\
'.YfHbwDfo.kU/oU6.zk2/.E.K5ik2.6.6.U4fA.YJ4EEuQD1v.E8b0FI1Y.I/YD1v.EHvT.A/dU6'\
'6cTyzYDHz0../6TyICv1zzzz.TzxwgrUPbUj.MDwsC4FWpOu.MzwwG5BpZE..ETy.U/E.fU6.Thx'\
'wULUP.4mSzk.AU2/.C.k.zTxU.7PCM1VUClU..81L.7MM.Ne/zk6tTkk.dUCdzmAtCTzzzzw6zkW'\
'Ab.2..E.7zk/0UTXz2..zzk.tDG3tPoc6zsa2T.E..2.2zs7.YzXz0U11zmCFU/6.e.KUjuCEY.E'\
'.e.JUU.4m..5z6HVMT3...kXjQviaU2s.68g..Di/.NiE.0gAx5tA.kY.U2ua2GY29jHh6.ET0k2'\
'/zlUV/ME5M.k/zos4gG9t/6HwDqM/j0.4ua.W3UE/Nu66TV./.F2QN.3bPD1uwDd0138A2EI/3A2'\
'0./2BW/HR...G.E22zk3YG.38.2M.zqt7QaJoMq3azolZ.47dRqJCzrFEFk/mIbFZ5rBZQbJj.KJ'\
'Xzys0NUw..UgG7nts.Eog6/d24i039JcU1ogWZW2OmEA./KNU..0uPV2azo20RiXxUu.2vDzW4zk'\
't.CMUEXgM9/k/..bzUXg.Clk..Q7zUY2AhWU..JwU.C.s.9s06A61hYGJkU6UhaUU6R2UGDZciU/'\
'5B2U.zDxXb5nzT0sM9VaT.Dfyc1XoTk2.yqzXjt/s.E5..NeR6COqunh2SnQUq05k6DJu6jbN.Dy'\
'EAE6M5t5zamk.D.0z6CPu.de35..TjlmEU/k.2./z21.K.mnr.DY.WAU..DySzcU/W.A..Dxy5cY'\
'0I.E.FDxYc8.iIG.AFDw5682iT06A8Tz2FrrKJBN7Wzz4GpLyT/s6KvzAU73sXWU6zmkk0607U7b'\
'Djws6./u6acY.0k/gB.1r6/cj.6/xJTwoThZgqE/IejdykU..E4.U1.0O61ajZc..lUU.zk.k.G0'\
'NcHVmvXU..1/WP6.s.4A.JDwoThZX.4AsJ8w/DUFXtE0KWE4O.1tz63I.kfo54DwU.64/P8.s31w'\
'.24BU0v..ATd.CdavG19Qw6EorvkUT0sUyG4z.A6X.flxtcUlYk..zn.5.ByHTtAUfmE..Dyk.7M'\
'o.deV..g/2/dc2VtUYW0P/5MZCQ1vU00vzDzWnDyEW/k..U0YdzqMMU.fGynz8Tvz6Ms7G/.KE/.'\
'O7V2St2YIE/x4ei.G2Y/DHw9Q2Y1WHxfc6FBM6FAVUazc.Ek0.E1s6a.k..Vr6/cYr.2Yzp2UG..'\
'X.Ms/zWU1Um.PRE22N47n.c5T7kM2.k7b8Dw0FJ25J3JBMjxV.GAO.c...Ty02EU0A020Ulw2C.6'\
'//4QkPUIKaWVR2RoIV.3ba0.OAm.Pk6VE466P40IVgmcY3AtI2Ocb2HQ.pYo.rUcIrkAIU.F0L2M'\
'1.E2UZM1h.I6.I/fezqxEFLFnPaJqzk/oEZBJQaJHtqZqQqJX5V5nOINUNDxiS4JCOJ/oNTpkEq2'\
'RNatjlqRdNL7p5FPe2CdVjqJG.4FVNKVIF4.SOL9zQaJqQqJ2QaDzR5/dPaxdM3uyMKl1N5Bnzp/'\
'XNrJgF4tdrrBdR43kI4VXNKlEI/vy3k...CFHvugV.4R.6/dMIDq6.1g.6/dj.E16 over + swa'\
'p here >r 2000 allot here >r b64 here r> here r@ here! lz here r> tuck - dev'\
' / " pef,AAPL,MacOS,PowerPC,prepare" property " Tab" encode-string " code,AA'\
'PL,MacOS,name" property'
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse & Shared folder

Post by Cat_7 »

Hi Elliot,

Lovely, I just tried this on Linux host. I'm not sure, but Windows host might not be able to parse the command line.

I can´t seem to get the mouse to move in Mac OS 9.2. The driver does something as the mouse moves out of the Qemu window without first releasing it.
Mac OS 10.3 seems to work. Would you care to share the rest of your command line?

Best,
Cat_7
elliotnunn
Student Driver
Posts: 17
Joined: Sun Sep 11, 2016 6:35 am

Re: Mouse & Shared folder

Post by elliotnunn »

Excluding the drive arguments, my command line is otherwise "qemu-system-ppc -L pc-bios -M mac99 -m 512 -boot c"

Did you ensure that the line preceding "-device usb-tablet" ended with a backslash? And did you ensure that no whitespace was added at the start of any of the lines?

If you are still having trouble, then please send me a copy of your QEMU script in full.

BTW, I have just posted a new version to the GitHub page that removes a delay from the cursor redrawing.

EDIT: typo that inverted the meaning of a sentence
elliotnunn
Student Driver
Posts: 17
Joined: Sun Sep 11, 2016 6:35 am

Re: Mouse & Shared folder

Post by elliotnunn »

Oh dear! I have identified an unfortunate incompatibility with the USB Device Extension, which I removed for my testing. I will fix it ASAP. In the meantime, removing all "USB" extensions might make things work for you.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse & Shared folder

Post by Cat_7 »

Hi,

Once you fixed that incompatibility is there any chance this could be converted into an ndrv ?

Best,
Cat_7
elliotnunn
Student Driver
Posts: 17
Joined: Sun Sep 11, 2016 6:35 am

Re: Mouse & Shared folder

Post by elliotnunn »

Fixed: https://github.com/elliotnunn/macos9-usb-tablet

(Don't use the code that I posted here a few days ago.)

A Mac OS USB driver (type usbd) has a different structure and runtime environment from an ndrv. But if you want to know whether the driver can be installed via a device tree property – yes, it can!

The problem requires code to run before USB comes up, and install a driver for the USB Expert to use later in the boot process. Details in DevTreeLoader.c.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse & Shared folder

Post by Cat_7 »

Hi,

Thanks, that new code does indeed work with Mac OS 9.1 and 9.2 when running -M mac99, so when the tablet is the only USB device.
Adding an additional USB device such as -device usb-kbd will hang boot.

Mac OS 9.0 has always had issues with more than one usb device. It seems the order in which usb devices are added to the command line determines which one will initially work ;-)
Moreover, there are issues with OHCI when e.g. passing through usb devices from the host. Particularly when multiple endpoints need to be active. Qemu only supports one active endpoint per device

Best,
Cat_7
elliotnunn
Student Driver
Posts: 17
Joined: Sun Sep 11, 2016 6:35 am

Re: Mouse & Shared folder

Post by elliotnunn »

I think that these issues could be fixed if the driver were less space-constrained. But it's good enough for now, and I'm keen to hear feedback from anyone using it.
feat
Space Cadet
Posts: 1
Joined: Thu Oct 06, 2011 5:05 pm

Re: Mouse & Shared folder

Post by feat »

elliotnunn wrote: Sun Jun 26, 2022 10:05 pm I think that these issues could be fixed if the driver were less space-constrained. But it's good enough for now, and I'm keen to hear feedback from anyone using it.
I extended my command line parameters with the Github version of your usb-tablet parameters and it works great! Thank you.
I did check with Mac OS 9.2.2
lampiaio
Space Cadet
Posts: 4
Joined: Wed Sep 07, 2022 4:40 am

Re: Mouse & Shared folder

Post by lampiaio »

Cat_7 wrote: Wed Jun 22, 2022 8:38 am I'm not sure, but Windows host might not be able to parse the command line.
Seems to be the case -- I can't get the argument from https://github.com/elliotnunn/macos9-usb-tablet to work on Windows. Tried replacing the backslashes with carets (since it's what Windows seems to use in .bat files instead) and some variations to no avail... anyone able to figure the correct way to format this

Code: Select all

-device usb-tablet -prom-env 'use-nvramrc?=true' -prom-env nvramrc=\
': b64 do 0 4 0 do 6 lshift i j + c@ 2e - dup b > 7 and - dup 25 > 6 and - or'\
' loop 3 0 do dup c, 8 rshift loop drop 4 +loop ; variable lzd variable lzi :'\
' lzp c@ dup c, lzd @ lzi @ + c! lzi @ 1+ fff and lzi ! ; : lz lzd ! fee lzi '\
'! 1 -rot do dup 1 = if drop i c@ 100 + 1 else dup 2 / swap 1 and if i lzp 1 '\
'else i 1+ c@ i c@ over f0 and 4 lshift + swap f and -3 do dup lzd @ + lzp 1+'\
' fff and loop drop 2 then then +loop drop ; 20 parse PofzQ03tNaNZRr1z.4Bk.E.'\
'.YfHbwDfo.kU/oU6.z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9WCYNsW0rfgkUYm...8Szev.Y6SMU63yFsqRzobXv68IkcbY.jUc/kaU.la..62g05WJ0RjcVA06'\
'44rwUuNBs6/GS/./dACgtUH4Ky6npzX2m.66mSNC.A/XgGm.fjTrz..4eDUay.RcZsU5K.Rs/eEL'\
'a4zwJUg.V.Ew0.Dy.q.4w.Lk/.Tz6h./U.9U..CxME..kE/0WzXE0Jn.ZJYs/9yXzQ.zzuOg5.5V'\
'6G.HzvDxu.5d6G1dTzDxiv3.1rI1rI.A30r1cS2Hp/jI81Y1zQ325uOgMLYvzF5JCOLNZNKDzMKl'\
'1.5BnA4HxNJ7GXUFa.Tw06E36A./.RTwYN47n.c21/jg2.aQb8.61zp25JIp3Ma3Iys2Nn.Q/../'\
'.6U.FG.0z0E41ADZEZ1xsq9mgczkZ2aYE3eakZUIK2phR3UU.UdEIg/0WMF0XJek.nFad6WdN/VW'\
'dLZL8./2F./2Mem/W2IY.2Jw.2LE.ubw.XE.F1VFIM/Bezoc00I62F.34zs...4/L.E/8TkS/.s/'\
'0E./64bM4I31zR5BjNLN3R4vzMIA.JKlgOKvzQaJqP43nQZ1z.4BjEZBJNJCLIH3m2LxnFa/kPab'\
'zNItYI5FsQ4brMKxZPax1OFxaQbJb3bNZaqZyRhteNJ6EPqFVQ2xVPaJnPpAjNItV3bNrI25SO3E'\
'.M5/Zzb72F43YMrBZQ4ZmOLGDtatjIXJUI4DgRKnzPaZbQqZ2ML1TO4BoP3/ahDtZIlRG6E1YiY1'\
'jc./b0/0XNk2..9Q.dV0X...U over + swap here >r 2000 allot here >r b64 here r>'\
' here r@ here! lz here r> tuck - dev / " pef,AAPL,MacOS,PowerPC,prepare" pro'\
'perty " Tab" encode-string " code,AAPL,MacOS,name" property'
in a way that pleases Windows? Any help would be appreciated.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mouse & Shared folder

Post by Cat_7 »

I haven't found a way to do that even with much more simple examples. Windows doesn't interpret the single quote so they have to be replaced with double quotes, but then it stops at a double quote. There will most likely be a way to escape those quotes, but.....not known to me.

Best,
Cat_7
User avatar
siddhartha
Student Driver
Posts: 16
Joined: Wed Nov 30, 2022 12:59 am

Re: Mouse & Shared folder

Post by siddhartha »

To get usb-tablet working in Windows, you can append this to your batch file/command line:

Code: Select all

    -device usb-tablet ^
    -prom-env "use-nvramrc?=true" ^
    -prom-env nvramrc=": b64 do 0 4 0 do 6 lshift i j + c@ 2e - dup b > 7 and - dup 25 > 6 and - or loop 3 0 do dup c, 8 rshift loop drop 4 +loop ; variable lzd variable lzi : lzp c@ dup c, lzd @ lzi @ + c! lzi @ 1+ fff and lzi ! ; : lz lzd ! fee lzi ! 1 -rot do dup 1 = if drop i c@ 100 + 1 else dup 2 / swap 1 and if i lzp 1 else i 1+ c@ i c@ over f0 and 4 lshift + swap f and -3 do dup lzd @ + lzp 1+ fff and loop drop 2 then then +loop drop ; 20 parse PofzQ03tNaNZRr1z.4Bk.E..YfHbwDfo.kU/oU6.zk2/.E.K5bk2.6.6.U4f8.YJ4EEu.D1v.E8b0FI1W.I/6D1v.EHv0.EPjuM0zzz/.N1sZ.U.zzwVUs5.C/..zzy.scDzCDnzMjxUU9/YD7s9RTxXU1VnCxKi.TzA.2WcU1I..Dx/Tt.IC.c..DxUrtA.UF6./Ty.bt4cYkE./TzU.M0cC2U..5wV05l.iuM1Dk/n.6/CUc2Uck/oUDg..0gA/./AjkZwHeM16.G./k2/205z/ME1M.U/HUPzgG9t/6HwNU5zj0.4ua.W/.46NkUK1UU/3GYQ..0fyaV3IcHk/E2A..FbxE2E33EB.E22GU3YEjw..2M.R4t7QjxZMq3aOIlZ.DxWR4J5QqJGRExjNKBmvUI/1k1zAkgGleE01GkLcxk/.G2EhQAZGX.E2VID2KScj.JanU4esNA/VjnzzxU..6.sMc/6zxnzzsEojrnwzmsU6OBwUY.iQTHz6/y1PU5Czo20/5PcCu1zT.00.I6vUNXz...w..6t861z/U.7zq81CyXT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.4BjEZBJNJCLIH3m2LxnFa/kPabzNItYI5FsQ4brMKxZPax1OFxaQbJb3bNZaqZyRhteNJ6EPqFVQ2xVPaJnPpAjNItV3bNrI25SO3E.M5/Zzb72F43YMrBZQ4ZmOLGDtatjIXJUI4DgRKnzPaZbQqZ2ML1TO4BoP3/ahDtZIlRG6E1YiY1jc./b0/0XNk2..9Q.dV0X...U over + swap here >r 2000 allot here >r b64 here r> here r@ here! lz here r> tuck - dev / \" pef,AAPL,MacOS,PowerPC,prepare\" property \" Tab\" encode-string \" code,AAPL,MacOS,name\" property"
lampiaio
Space Cadet
Posts: 4
Joined: Wed Sep 07, 2022 4:40 am

Re: Mouse & Shared folder

Post by lampiaio »

siddhartha wrote: Fri Aug 11, 2023 4:31 am To get usb-tablet working in Windows, you can append this to your batch file/command line:

Code: Select all

    -device usb-tablet ^
    -prom-env "use-nvramrc?=true" ^
    -prom-env nvramrc=": b64 do 0 4 0 do 6 lshift i j + c@ 2e - dup b > 7 and - dup 25 > 6 and - or loop 3 0 do dup c, 8 rshift loop drop 4 +loop ; variable lzd variable lzi : lzp c@ dup c, lzd @ lzi @ + c! lzi @ 1+ fff and lzi ! ; : lz lzd ! fee lzi ! 1 -rot do dup 1 = if drop i c@ 100 + 1 else dup 2 / swap 1 and if i lzp 1 else i 1+ c@ i c@ over f0 and 4 lshift + swap f and -3 do dup lzd @ + lzp 1+ fff and loop drop 2 then then +loop drop ; 20 parse PofzQ03tNaNZRr1z.4Bk.E..YfHbwDfo.kU/oU6.zk2/.E.K5bk2.6.6.U4f8.YJ4EEu.D1v.E8b0FI1W.I/6D1v.EHv0.EPjuM0zzz/.N1sZ.U.zzwVUs5.C/..zzy.scDzCDnzMjxUU9/YD7s9RTxXU1VnCxKi.TzA.2WcU1I..Dx/Tt.IC.c..DxUrtA.UF6./Ty.bt4cYkE./TzU.M0cC2U..5wV05l.iuM1Dk/n.6/CUc2Uck/oUDg..0gA/./AjkZwHeM16.G./k2/205z/ME1M.U/HUPzgG9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7GXUFa.Tw06E36A./.RTwYN47n.c21/jg2.aQb8.61zp25JIp3Ma3Iys2Nn.Q/../.6U.FG.0z0E41ADZEZ1xsq9mgczkZ2aYE3eakZUIK2phR3UU.UdEIg/0WMF0XJek.nFad6WdN/VWdLZL8./2F./2Mem/W2IY.2Jw.2LE.ubw.XE.F1VFIM/Bezoc00I62F.34zs...4/L.E/8TkS/.s/0E./64bM4I31zR5BjNLN3R4vzMIA.JKlgOKvzQaJqP43nQZ1z.4BjEZBJNJCLIH3m2LxnFa/kPabzNItYI5FsQ4brMKxZPax1OFxaQbJb3bNZaqZyRhteNJ6EPqFVQ2xVPaJnPpAjNItV3bNrI25SO3E.M5/Zzb72F43YMrBZQ4ZmOLGDtatjIXJUI4DgRKnzPaZbQqZ2ML1TO4BoP3/ahDtZIlRG6E1YiY1jc./b0/0XNk2..9Q.dV0X...U over + swap here >r 2000 allot here >r b64 here r> here r@ here! lz here r> tuck - dev / \" pef,AAPL,MacOS,PowerPC,prepare\" property \" Tab\" encode-string \" code,AAPL,MacOS,name\" property"
You're an absolute hero. Mouse movement just became at least as smooth as under SheepShaver (if not more)! The difference really is night and day. Thank you so much for this.
User avatar
siddhartha
Student Driver
Posts: 16
Joined: Wed Nov 30, 2022 12:59 am

Re: Mouse & Shared folder

Post by siddhartha »

lampiaio wrote: Fri Aug 11, 2023 7:36 pm You're an absolute hero. Mouse movement just became at least as smooth as under SheepShaver (if not more)! The difference really is night and day. Thank you so much for this.
Glad to be of help. Credit has to go to elliotnunn for the ingenious driver.
Post Reply