-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot type "\" in a BASIC #include directive #93
Comments
Two issues :) Windows can perfectly fine use forward slashes. I've just tested, and it works as expected. Buuut:
Whenever the BASIC file is now built, C64Studio will make sure the assembly file output is up to date first, and then build the BASIC file. In the BASIC file you can now access the symbols as you already shown up there. There is a short entry in the help for including assembly in BASIC, I need to update that with more details. |
I've added a new feature in the last commit, that might help you somewhat: With The syntax is If length in bytes is empty or zero, the full file is used. Hope that helps. If these comments do not help you, feel free to reopen. |
I want to
#include
symbol addresses from an .asm module in another directory, but can't type "\" in the#include
directive.I'd like to do something like:
.\asm\equates.asm:
ntscpal = $0a03 ; for the c128
then:
.\basic.bas:
#include ".\asm\equates.asm"
10 a=peek({ntscpal}):if a=255 then ...
I'd be okay with using forward slashes, but they aren't recognized as valid subdirectory separators on Windows.
The text was updated successfully, but these errors were encountered: