Giter Club home page Giter Club logo

Comments (5)

mithrendal avatar mithrendal commented on June 20, 2024

there is an option drive speed in the setting dialog... when set to 8 it is much faster ...

there is no extra special call parameter for it yet ... we have to introduce one first... but as you can inject command scripts you are able to inject a command to set drive speed to 8 like this when invoking the player

buttons: [{run: true, script: `wasm_configure('DRIVE_SPEED', '8');`}]

to see whether all is ok you can add one alert command to check that it is really set like this

buttons: [{run: true, script: `alert('drivespeed=8');wasm_configure('DRIVE_SPEED', '8');`}]

another possiblity would be if you can copy that puppy onto a hdf ... which is much much faster

what would also be possible is that we automatically mount 'Hoi-1.adf' ...

another thing is warping... if you set warp during disk load to on then it warps frames during disk activity ... that means it runs as fast as possible and skips rendering frames...

buttons: [{run: true, script: `alert('warp=on');wasm_set_warp(1);`}]

there is also no special property yet for it you must try the script way first ...

from vamigaweb.

rhinoid avatar rhinoid commented on June 20, 2024

Warp is no understatement. It flies through the load times now! Thank you!

from vamigaweb.

mithrendal avatar mithrendal commented on June 20, 2024

I have problems with Hoi and warp during disk load .... it does not seem to stop the drive motor when it asks for disk2. This makes the complete UI freeze and laggy because it is executing the Amiga like crazy ... until the drive stops .... which not happens ... 🫣

I am using AROS kick replacement roms.

here is the javascript console log where we can see what the drive does


vAmiga message=DRIVE_STEP, data=0
(Index):1 warping at least 25 frames at once ...
(Index):1 vAmiga message=DRIVE_STEP, data=0
(Index):1 warping at least 25 frames at once ...
(Index):1 vAmiga message=DRIVE_STEP, data=0
2(Index):1 warping at least 25 frames at once ...
(Index):1 vAmiga message=DRIVE_STEP, data=0
(Index):1 vAmiga message=DRIVE_LED_OFF, data=0
(Index):1 vAmiga message=WARP_OFF, data=0
(Index):1 vAmiga message=DRIVE_MOTOR_OFF, data=0
(Index):1 vAmiga message=DRIVE_LED_ON, data=0
(Index):1 vAmiga message=WARP_ON, data=0
(Index):1 vAmiga message=DRIVE_MOTOR_ON, data=0
<--------- here it asks for disk 2 but Drive_LED and MOTOR is still on/running which keeps also the warp running
26(Index):1 warping at least 25 frames at once ...

so we have two options ... fix the game to shut down the drive when waiting for disk ... or we do not use warp during disk load

what about using drive speed = 8 in conjunction with another different warp mode parameter called warpto ?

warpto: 2000 for example warps (one time) 2000 CPU cycles forward when it is starting the emulation.

from vamigaweb.

rhinoid avatar rhinoid commented on June 20, 2024

Oh on the Mac it seemed to work fine. I only had incidental gfx glitches

But if this is the case I'll change it to speed 8!

from vamigaweb.

rhinoid avatar rhinoid commented on June 20, 2024

Disk speed 8 is still very fast. So I'll keep that setting!

from vamigaweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.