View Single Post
Old 09 October 2020, 22:28   #98
Bartman
Registered User
 
Join Date: Feb 2019
Location: Munich, Germany
Posts: 63
Quote:
Originally Posted by roondar View Post
I've been a bit confused about this. Suppose I want to create a program that loads in data from disk. How do I get the debugger to also have this data available in the debug environment?

I'm sure I'm missing something really obvious here, but I've not found the correct way to do this.
You mean data as in non-code data? Just put it in the same directory as the output exe and load it from your program with standard dos.library. The extension maps the directory that your exe is in as 'dh1:' and it's available as the current directory.
Bartman is offline  
 
Page generated in 0.07700 seconds with 11 queries