I've working on a program which uses assembly language with the OSDK.
The program builds fine with SET OSDKADDR=$2000, but I've been running out of memory (I use the area for $6400 - $b3b0 for storing offscreen data) and would like to grab a few more bytes.
I've tried using an earlier OSDKADDRR (e.g $600, or $1000) but the program always crashes when I run it. I've been trying to figure out why this happens, but have failed so far.
Can anyone please suggest why this might be? Or maybe suggest a strategy to investigate the failure?
Thanks.
Simozzer
P.S. Project is available here: https://github.com/simozzer/Oric6502
Cannot change OSDKADDR value
-
- 1st Star Corporal
- Posts: 9
- Joined: Wed Dec 06, 2023 7:26 pm
- Dbug
- Site Admin
- Posts: 5064
- Joined: Fri Jan 06, 2006 10:00 pm
- Location: Oslo, Norway
- Contact:
Re: Cannot change OSDKADDR value
I tried with $400 without any problem.
Have you tried the osdk_showmap?
Have you tried the osdk_showmap?
-
- 1st Star Corporal
- Posts: 9
- Joined: Wed Dec 06, 2023 7:26 pm
Re: Cannot change OSDKADDR value
Well, this is strange.
$400 works for me, so does $2000
but if I try with $1000, or $600 the program crashes.
I'll go with $400 for now, as this will give me a few more bytes to play with, but will do some investigation with osdk_showmap to see if I can work out a reason for this strange behavior
$400 works for me, so does $2000
but if I try with $1000, or $600 the program crashes.
I'll go with $400 for now, as this will give me a few more bytes to play with, but will do some investigation with osdk_showmap to see if I can work out a reason for this strange behavior