Since some MZX games are known to abuse the COMMANDS counter, there needs to be a way to break out of COMMANDS-induced busyloops. As of GIT 661069b I've added a temporary fix to this issue; however, there are several issues that it currently introduces:
1) The key polling threshold is relatively low, at 65536 commands. It should probably be higher or platform-specific.
2) The current break keys (both Escape and Break will work at the moment) would be easy to hit in certain applications where an extremely high number of commands might be desirable. The key shortcut should be altered and user-definable.
3) The solution itself is kind of dirty (poll events every X commands; halt execution of all robots if a break key is pressed; display worthless error message). Preferably it would be more streamlined and maybe exit gameplay mode (or switch to a blank world if the busyloop occurs on the titlescreen).
4) It might be useful to integrate this with the robotic debugger when running from the editor.
Any opinions?
Report ID | 596 | Title | A way to escape from busyloops |
Product | Rejected Requests | Status | Rejected (Severity 3 - Medium) |
Version | 2.84d | Fixed in | - |
Page 1 of 1
Report ID #596: A way to escape from busyloops
#1 Lachesis
Posted 15 December 2013 - 05:18 AM
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
Page 1 of 1
Replies (1 - 4)
#2 Lachesis
Posted 22 March 2015 - 05:36 AM
I'll probably revert this. I hate the way it's implemented.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#3 Lachesis
Posted 22 March 2015 - 02:57 PM
Reverted as of GIT a50c805.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#4 Lachesis
Posted 22 March 2015 - 03:00 PM
Updating status to: Rejected
yeah i don't know if a better way to do this comes up, it can get its own issue i guess
yeah i don't know if a better way to do this comes up, it can get its own issue i guess
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
Page 1 of 1
0 User(s) are reading this issue
0 Guests and 0 Anonymous Users
Powered by IP.Tracker 1.3.2 © 2025 IPS, Inc.