Comments (9)
Hi!
I don't completely understand your question.
Are you using the PC compiler?
Do you want to generate an ATR image with the Atari executable inside?
Have Fun!
from fastbasic.
Yes I'm using the PC compiler and created a large map using fastbasic. Want to be able to load/save or just integrate it directly into program. Able to generate and use the ATR image without having to manually create one would be ideal, but i would settle for even a bunch of DATA statements I can use for the program/game.
from fastbasic.
Hi!
To integrate data directly to the program, you can use the DATA FILE statement:
DATA mydata() BYTEFILE "my-local-file.bin"
This will read the binary file "my-local-file.bin" into your program, as the mydata() byte array. You can also use "WORDFILE" for reading as a word array.
Note that this does not work in the Atari compiler, only using the PC compiler.
Is this what you need?
Have Fun!
from fastbasic.
from fastbasic.
Hi!
You can run the XEX directly in the emulator, you don't need an ATR.
Or I still don't really understand your use case :(
Have Fun!
from fastbasic.
from fastbasic.
Hi!
I understand now, you want to test the game preserving the data in the disk image.
What I normally do is to activate the "H:" device in the emulator, and load/save the data from the H: device during development.
This way, I can load the emulator with my XEX and have it access all the data files in the H: device instantly, without the need for an ATR file. This also has the advantage that I can directly copy (and backup) the data files.
If you are using Altirra, you can load the emulator with Altirra /hdpathrw my_folder my_file.xex
Have Fun!
from fastbasic.
from fastbasic.
Closing as seems resolved.
from fastbasic.
Related Issues (20)
- cc65 as submodule HOT 2
- output minified listings HOT 2
- ADR() on string array doesn't seem to work HOT 7
- libstdc++.6 removed in ventura. recompile using libstdc++ HOT 9
- Running cross compiler from PATH HOT 3
- Support for other DOS , problem with blank ATR HOT 2
- Proposed enhancement FUNCTION or DEF FN HOT 1
- Enhancement Request - add Image Get and Put HOT 2
- Enhancement request: support floating point variables in FOR HOT 2
- partial reserved word matching in variables HOT 2
- test fails HOT 2
- clang warnings HOT 2
- Interoperability with Fujinet N: device HOT 6
- Atari BASIC Call "STATUS" for RS232 HOT 5
- Implement NOTE and POINT statements. HOT 3
- Support for TRAP statement
- Editor in FB.COM: Bug when pressing Ctrl-DEL at end of sourcefile HOT 1
- Calling PROCs with array arguments doesn't work HOT 2
- help with assembler HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastbasic.