unreal memory bug?

Bugs (reports, fixes, etc.)

Postby .mad. » 27 Jan 2020, 13:38

Hi Deathsoft,

I would like to report a possible bug in Unreal Speccy.

when using INI setting...
[MISC]
RESET=DOS

This 128k game does not load (with lack of memory error).
Blasteroids [Ros Ltd'94]
https://vtrd.in/gamez/b/BLASTROS.zip

but using this setting to select TR-DOS from the menu before loading the game works.
[MISC]
RESET=MENU

Please can you take a look at the code.
Thank you!
.mad.
 
Posts: 3
Joined: 27 Jan 2020, 13:27
Group: Registered users

Postby deathsoft » 27 Jan 2020, 23:51

Game does not work if i run it from menu->basic 128-> usr 0 -> randomize usr 15616 -> run

maybe 128k detection code checks basic 128 rom.
User avatar
deathsoft
 
Posts: 4738
Joined: 07 Apr 2007, 00:58
Group: Registered users

Postby deathsoft » 28 Jan 2020, 23:54

128k detection used in Blasteroids made via BANKM (5B5C) basic 128 variable. this variable is available only when basic 128 is active. In reset to TRDOS mode, basic 128 is not used.
User avatar
deathsoft
 
Posts: 4738
Joined: 07 Apr 2007, 00:58
Group: Registered users

Postby .mad. » 29 Jan 2020, 18:36

Hi deathsoft,
Thanks for the info.
would it be possible to add that 128 active basic feature to the emulator?
.mad.
 
Posts: 3
Joined: 27 Jan 2020, 13:27
Group: Registered users

Postby deathsoft » 29 Jan 2020, 20:06

.mad. wrote:would it be possible to add that 128 active basic feature to the emulator?

Its not emulator problem, its problem with game loader that use basic 128 variable to determine if this 128k machine or not. You can patch loader and remove this check.

Good detection algorithm should mark pages by writing bytes to it, switch pages via 7FFD, and read data back and compare.
User avatar
deathsoft
 
Posts: 4738
Joined: 07 Apr 2007, 00:58
Group: Registered users

Postby .mad. » 30 Jan 2020, 22:32

i understand.
problem would occur on real hardware booting directly into TR-DOS.
so your emulator is 100% correct.

Using an older version of Quick Commander (v2.81) as the 128 BASIC ROM, fixes those 128 check loading problems.
i simply do not have the skills to patch and recrack game disks. ;)

Thanks for your work on the emulator.
i love it. :D
.mad.
 
Posts: 3
Joined: 27 Jan 2020, 13:27
Group: Registered users


Return to Ошибки

Who is online

Users browsing this forum: No registered users and 2 guests

cron