-
Notifications
You must be signed in to change notification settings - Fork 20
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
Printing from String Arrays #34
Comments
Hi!
Can you send me (privately if you want)) the failing program? This will allow me to investigate where the memory corruption occurs. |
I switched it all over to printing directly from print statements. Got it to work. |
`'REM PROJECT: BLACK JACK ATARI FAST BASIC. PORTED FROM DARK BASIC VERSION. 'REM **** Conversion in Progress **** DIM OLDORDER(512) WORD DBL_DOWN_SET = 0 DIM BONUS_777_OPTION_SHOW$(1) DIM BONUS_678_OPTION_SHOW$(1) DEALERTIEWINS = 1 DEALERSOFT17HIT = 0 'DIM UNBUSTED_OPTION_SHOW$(1) SPLITSET = 0 'BLACKJACK_BONUS_OPTION_SHOW$(3) = " " 'DIM NUMBER_OF_PLAYERS_OPTION_SHOW$(3) MAXPLAYERS = 4
'code not used yet removed' PROC INIT_DEFAULTS PROC TITLE_SCREEN ' REPEAT
' POSITION 0,19 ' POSITION 0,21 ' POSITION 0,17 '' UNTIL SELECTING=2 OR SELECTING=3 ENDPROC ` |
Hi!
Yes, you need to use
Have Fun! |
Yeah, I am trying to use a custom CFG file with an extra segment for Machine Language and Binary Data like fonts and sprites. It is part of the .xex, but does not create a separate load segment so it loads to the desired program memory location. |
Hi!
Tried this code, did not see any problem, sorry. Do you have any failing version? |
It may be happening because I had to directory set up pointing to an older Version of Fast Basic. Got it to compile in 4.3, and it works. |
Hi!
In the last FastBasic version (4.4 beta, download over here https://atariage.com/forums/topic/308797-fastbasic-44-beta/ ) there is a section called "ALIGNDATA" in the config file, so the procedure to include data that needs alignment is:
Then, simply compile the FastBasic code with the ASM file. Have Fun! |
Closing, seems resolved after last comment. |
I am printing from different string arrays on a single screen. It is for different playing options for a game I am porting into Fast Basic. After I tried to get 5 or more different options, the strings started to get scrambled. Look like they come from a different memory location or the program crashes. I want to do a similar set up like I've done with cartridge games using select and option or joystick to change parameters before starting a game.
I am using PRINT "(label)"; OptionXX$(index). I had to drop what I was doing to head to work. Using two different print statements to see if that works.
The text was updated successfully, but these errors were encountered: