![]() |
![]() |
#21 |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
A browser-based Amiga emulation for iPad and iPhone
OK.. pretty rad thanks for this hardwork!
So I tested that Logitech K830 BT keyboard works but must hold ALT for spacebar to work and CTRL for cursor arrows to work inside of ASMTwo (and as opposed to the iPad Combo Touch keyboard there actually is an ESC key on the K830 lol -the tech world really seems to be moving away ‘standards’ and ‘conventions’ heading where I do not know) Sent from my iPad using Tapatalk |
![]() |
![]() |
#22 | |
Registered User
Join Date: May 2012
Location: moon
Posts: 201
|
@japandej I am glad you like it ! Your feedback is appreciated...
Quote:
https://vAmigaWeb.github.io does support HDFs thanks to github user https://github.com/mras0 who donated the necessary controller / board code any .hdf file thrown at vAmigaWeb is mounted as DH0, while any other file e.g. ADF .DMS or .exe is mounted in DF0. @aZtOcKdOg good to hear that it works for you ... any nice pictures of your setup ? Last edited by yesplease; 14 October 2022 at 16:32. |
|
![]() |
![]() |
#23 | ||
Registered User
Join Date: Jun 2016
Location: Belgrade, Serbia
Posts: 12
|
Quote:
![]() Quote:
![]() I have one question - the mouse works well with touchpad setting (btn|move|btn), but I also tried connecting the bluetooth mouse which is supported in the iPadOS15 where you get that little dot cursor - but it doesn't work in the emulator? That's the pointer lock API issue with iPad OS? |
||
![]() |
![]() |
#24 | |
Registered User
Join Date: May 2012
Location: moon
Posts: 201
|
Quote:
yes correct... with input='mouse' I just forward anything what the pointer lock API gives us to the emulated AmigaVM. I just don't get why Apple does not map their fancy new iPadOS15 little dot mouse cursor to the PointerLock API. I mean it is obviously a pointer ... no? if anyone knows how to get data from that iPadOS15 little dot mouse cursor in Safari please tell me ... I will connect it to the vAmigaVM then |
|
![]() |
![]() |
#25 | |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
A browser-based Amiga emulation for iPad and iPhone
@japandrej
Hey I’ll see if this detailed response quote from @yesplease works: Quote:
Awesome man, yeah I will grab some pics soon ![]() Hey quick Q: Does vAmigaWeb currently support ‘actual’ saving to a mounted media such as ADF or is it saving to a version that is in the iPad device memory only (and as such will not be present on the original ADF used and any changes are lost after cold reboot or restart of vAmiga?) I have just had some strange behaviour that * I think * a bootblock intro somehow replaced another file on the ADF and/or any saves I made to my code (eg. in ASMTwo) were there but not there when remounting the same ADF again at a later time? Thank you for any help! Oh and @japandrej your setup is ultimate man it is like the WinUAE setup I had with an x86 tablet that I configured Windows to boot into UAE with no GUI on startup w/ keyrah v2 powered via USBOTG cable w/ an A600 case and keyboard… it feels SOOOO AWESOME! I love your setup (iOS or iPadOS rather, kinda feels just a many levels closer to an Amiga than Winblows ever will! I imagine the Apple silicon Mx series tabs will be even closer!) Sent from my iPad using Tapatalk Last edited by aZtOcKdOg; 14 October 2022 at 18:22. |
|
![]() |
![]() |
#26 | |
Registered User
Join Date: Jun 2016
Location: Belgrade, Serbia
Posts: 12
|
Quote:
|
|
![]() |
![]() |
#27 | |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
Quote:
Also, the HDF gets loaded into the DF0: labelled dialogue box? Can that be relabelled as ‘MEDIA’ or ‘FILE’ to help better convey the ability to load a number of diff file types even when not displaying the tooltip (just coming from a UX/UI angle with this suggestion) Sent from my iPad using Tapatalk |
|
![]() |
![]() |
#28 | ||||
Registered User
Join Date: May 2012
Location: moon
Posts: 201
|
Quote:
Ways to persist your modifcations to HDF or ADF: usecase "export ADF/HDF" click 'take snapshot' in the navbar. A dialog opens there you click on 'export state the current state of disk in' df0 or dh0 in the left bottom part of the dialog. This will export the disk or hard disk to your host filesystem i.e. iOS where you can send it anywhere or just reuse this the next time you cold launch vAmigaWeb usecase "save complete snapshot" click 'take snapshot' in the navbar. A dialog opens there you click on 'save'. This will save a snapshot of the complete AmigaVM into your local browser space ... i.e. local indexed database. Then with the snapshot browser you can just click the snapshot to reactivate your session after a cold boot of vAmigaWeb. Quote:
Quote:
I have to think about it... the point is I want to be as minimalistic as possible because on a tiny iPhone you got not so much screen area. Any suggestions are welcome ... Quote:
![]() |
||||
![]() |
![]() |
#29 | ||
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
Quote:
![]() Quote:
(lol my apologies, I really seem to be tripping myself up at every stage of getting this running and I know it is made to be extremely straight forward- it is just so much cleaner than all the UAE4ARM / WinUAE solutions that I think I just need to become acquainted with this responsive multi-device scaleable web app) …again thanks for any info Sent from my iPad using Tapatalk |
||
![]() |
![]() |
#30 | |
Registered User
Join Date: Jun 2016
Location: Belgrade, Serbia
Posts: 12
|
Quote:
On the other hand, it might be handy to be able to remap the fire button to something else other than spacebar when using the keyboard? It's a bit 'cumbersome' key to keep mashing. ![]() |
|
![]() |
![]() |
#31 |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
@japandrej awesome stuff! Yeah I have a couple of DualShock4 and a I treated myself to a DualSense Galaxtic Purple just for the USB-C connector more than anything but it is nice! I use a DualShock2 on my real Amiga 1200 / CD32 / A600 (although the A600 is for studio activities rather than gaming)
I hope to get my controller working now too wow great photo and Amiga games just look so amazing… I will however be playing Gods (with latest WHDLoad patch with second button jump) and Deluxe Galaga ECS. (Small tip: check for WHDLoad updates for any of your favourite platformers as they are all getting the ‘second button jump’ treatment replacing ‘up for jump’ even Turrican series has now which puts it straight in the league against any console ports of the time! Yay!) Alright I hope I can get it working haha it’s Saturday night and I am keen for some gaming! Sent from my iPad using Tapatalk |
![]() |
![]() |
#32 |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
Oh yeah sorry when I say Safari I mean PWA
![]() Sent from my iPad using Tapatalk |
![]() |
![]() |
#33 |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
(UPDATE)
Yeah strangely enough (and I tested this multiple times) The DualSense controller is recognised instantly, its available in the drop down list in GamePorts but…. and I am not sure if it’s just the particular model revision of DualShock4 (its the limited edition Dark Transparent Blue for ome of those AAA games back a few yrs back) But it wont recognise it unless I click GamePort 2 then GamePort1 then GamePort2 again… strange? I have anither DS4 controller here I will charge up and try its a different revision (its the older type before the led strip was visible above the touchpad) Anyway, have got the controller working! id say there is a frame of latency though… not bad for platformers like Gods but almost RIP in Deluxe Galaga lol… also the DualSense seems to have more latency than the DualShock4 (but I already thought that when playing Horizon Chase 2 on the Apple TV 4K so…) Sent from my iPad using Tapatalk |
![]() |
![]() |
#34 | |
Registered User
Join Date: May 2012
Location: moon
Posts: 201
|
@aZtOcKdOg
Quote:
very good find ![]() what is going on is this worst case: 1.execute frame query gamepads ->trigger gamepad signal just after this query 20ms-(frame execution time maybe 4 ms) duration to next frame 2.execute frame (without the signal) query gamepads (this one registers the signal and forwards it to AmigaVM) 20 ms 3.execute frame (this one processes the signal) best case: 1.execute frame ->trigger gamepad signal just before the query query gamepads 20ms-(frame execution time maybe 4 ms) duration to next frame 2.execute frame (with the signal) in worst case it would process contoller signals 16ms+20ms = nearly two frames and in the best case 16ms i.e. gamecontroller lag is currently between 16ms and 36ms that is the extra frame you mentioned if we just change the order of the query we can bring the lag down to between 0ns and 20ns see worst case: 1. query gamepads ->trigger gamepad signal just after this query execute frame 20ms duration to next frame 2. query gamepads (this one registers the signal and forwards it to AmigaVM) execute frame (with the signal) best case after reordering is now 0ms because execution takes place directly after the query I will change that and push a new version later today @aZtOcKdOg I have an idea for the overloaded file/media slot nav bar button... we label it 'files slot' and only when a disk or harddrive is inserted it will become a track display... currently it shows also the stepper motor of df0 when there is no disk in it... when ejecting all disks we write 'files slot' to it... Last edited by yesplease; 15 October 2022 at 20:18. |
|
![]() |
![]() |
#35 |
Registered User
Join Date: May 2012
Location: moon
Posts: 201
|
@aZtOcKdOg @japandrej
new version '2022_10_15' just pushed to https://vamigaweb.github.io changes: ---------- 1.reordered querying game controller API to reduce input lag 2.file slot button is labeled 'file slot', shows track information only when disk is in drive |
![]() |
![]() |
#36 | ||
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
Quote:
![]() Quote:
![]() —— Regarding HDFs: Are there any specific attributes of a HDF file that would return the error “undefined” or something like “out of range or memory” (or similar) and wont allow me to use a 512MB size HDF? Is it the file size? The emulator that initially created the HDF? Some sort of AGA or machine specific info in the header hunk? (if thats the correct term) After that above error/s requires a full cold reatart ie quit and reload vAmiga from PWA icon on homescreen Also can a ZIP simply be a working bootable Amiga HDD Directory zipped? Or is that just referring to the usual ‘it doesn’t matter if your ADF / DMS FDD image is contained within a ZIP file’? —— Keyboard Behaviour: Is it a known issue that for space key to work you must use ALT+SPACE Arrow keys require CTRL+ARROW KEYS to move cursor… …or is it just my particular kboard? :hmm: Great work! Thanks |
||
![]() |
![]() |
#37 | ||||
Registered User
Join Date: May 2012
Location: moon
Posts: 201
|
Quote:
you can remap the fire button like so: 1. create a new action button with '+' icon from the nav bar 2. give it a label e.g. 'fire [a]' 3. give it a shortcut key e.g. 'a' 4. give it an action script 'j2fire1=>await_action_button_released=>j2fire0' j2 refers to joystick port2 5. save it now whenever you press key 'a' the joystick2 fire button triggers the action button can be dragged around and also the opacity can be modified to your needs... @aZtOcKdOg Quote:
thanks ![]() Quote:
It does not mean that you can zip a HDs directory and mount this to vAmigaWeb as an HD. Quote:
please check whether you have selected the keyboard in game port1 or port2 ? because in that case the arrow keys and the space key would be mapped to joystick movements and fire button instead... and no more to amiga keyboard keys ... which would explain what you see Last edited by yesplease; 16 October 2022 at 01:07. |
||||
![]() |
![]() |
#38 |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
Changes are spot on :thumbs up:
The gamepad feels far more responsive… just a quick question is the directional events a seperate instance to the fire buttons? I am just wondering as the movement feels amazing but (now I am unsure whether it is Deluxe Galaga ECS as I usually play the AGA version) but seems like maybe 1 in 5 fire button presses don’t register. it is probably the game (it likely uses some trickery to make upgrades make the game feel ‘more responsive’ rather than than any issue with the emu… but still thought I would mention it) Hmmm the keyboard issue is persistent between both my keyboards… I will next dig out my USB C -> USB dongle and try some wired keyboards to see if its a ‘Logitech’ issue seeing as both keyboards (K830 and Combo Touch) are the same brand… (I have ensured to be doing all your suggestions) The HDF issue then kills the ‘file slot’ for any media so yes I will take some more detailed notes on the process to recreate this issue and post an issue on Git.. thanks @yesplease Sent from my iPad using Tapatalk |
![]() |
![]() |
#39 | |
Registered User
Join Date: Jun 2016
Location: Belgrade, Serbia
Posts: 12
|
Quote:
![]() |
|
![]() |
![]() |
#40 |
Registered User
Join Date: Jan 2015
Location: Australia
Posts: 84
|
@yesplease Does the vAmiga emu support 2 button games?
Sent from my iPad using Tapatalk |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
When will the damn iPhone/iPad emulate Amiga? | Pyromania | Amiga scene | 32 | 04 August 2022 17:55 |
NewsTek Episode #15 - iPhone 6 Launch and Classic Amiga iPhone games | Pyromania | Amiga scene | 2 | 24 September 2014 05:25 |
Skweek discussions with Laurent Arditi (was: IPad/Iphone owners, HOL needs you) | lilalurl | Amiga scene | 25 | 01 October 2012 20:08 |
Warblade for the iPhone, iPod, iPad is released | alkis21 | Retrogaming General Discussion | 5 | 14 June 2010 09:46 |
|
|