03 March 2021, 21:35 | #1 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,004
|
Int 5 (& "longer" code)
I havent tried this yet, but am thinking theoreticaly for now.
What happens if code that we set in int 5 takes more than one vertical blank to be finished? |
03 March 2021, 21:52 | #2 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,920
|
It will be executed again upon exiting the irq service routine.
|
04 March 2021, 17:56 | #3 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,004
|
Meaning what? At second vbl it wont be called again cause its already being executed?
|
04 March 2021, 18:40 | #4 | |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,920
|
Quote:
Old games often had almost all game code in the VBL routine so that it was synced from the VBL. This is not advisable and a rather ugly hack. Of course, this must not be done at all if you have the OS running. |
|
05 March 2021, 17:33 | #5 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,004
|
Aha, ok. Thanks for explanation.
|
05 March 2021, 18:09 | #6 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
|
Quote:
It may be not advisable if you don't manage to run your engine in 50fps. But that's all. |
|
05 March 2021, 18:52 | #7 |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,920
|
Yes, you are right. If you are alone in the system, it is ok. I guess the fact that you are blocking interrupts of lower priority if you do calculations that need not be carried out with priority (which should be much of the game logic) doesn't really play a role in an Amiga game running as the only program.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Diabolik" & "Dylan Dog" & "Tex" & "Time Runners" series | DamienD | request.Old Rare Games | 20 | 21 July 2022 16:58 |
"Screech!! v2.41" & "Screech!! [AGA] v2.51" - "HD install" --> "ADFs" | DamienD | request.Old Rare Games | 45 | 15 June 2020 12:42 |
Defender of the Crown [CDTV] - ".ISO & .WAV & .CUE" vs ".BIN & .CUE" | DamienD | support.WinUAE | 18 | 17 June 2019 01:52 |
[Found: "Nippon Safes Inc." & "Nightbreed"] Bank Robbery point and click? | soulless | Looking for a game name ? | 6 | 15 April 2017 23:21 |
|
|