Skip to content

PRG loader should set $00BA to #08 #174

@Kugelblitz360

Description

@Kugelblitz360

The current PRG loader does not set $00BA so it is left at $00. It would contain the device number of the last device used. Some programs (like file browsers and some tools) rely on $00BA to be set to the device they were loaded from.

As there currently is no tape support, hard coding $00BA to $08 in the PRG loader should make some more programs work (but still will fail some copy protected tape games that expect $01 here).

I think the positive effects of getting some filebrowsers to work when called as PRG makes faking it as a #8 load useful although it is a "hack".

https://www.n0stalgia.org/common/pages/releases.php?op=showrelease&id=353

https://blog.worldofjani.com/?p=4172

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions