Jump to content

Fabrizio Caruso

  • Content Count

  • Joined

  • Last visited

Community Reputation

42 Excellent

About Fabrizio Caruso

  • Rank
    Chopper Commander

Recent Profile Visitors

2,601 profile views
  1. Is there an option to import/export BASIC files including reversed characters? or a standard tool?
  2. Hi everyone! I am coding BASIC 10liner games for the Atari (as well as other systems) and I have so far copy/pasted the text of the code into Altirra. This seems to be possible only for non-reversed characters. I would like to make a feature request to the author to have an import/export option to load basic programs as text files including special reversed and reverse+small characters. What is the simplest alternative for cross-development?
  3. @Irgendwer How do I use your tool to convert a pain text file with plain Atari BASIC into a standard format such as XEX or ATR? It looks like your tool is something else. I do not want to use a special editor.
  4. @CharlieChaplin I don't want to type anything. I need an automatic solution, i.e., only command line commands that I can put into a script. I do not want to open tools nor emulator or click on buttons any single time I want to test a change in a single line. Your solution does what I need but not how I need it: I am coding on the PC and I only use the emulator to test. I need a solution to both easily and quickly load my Basic program and to publish it in a standard format such as xex and/or atr and/or anything standard.
  5. @dmsc Thanks! I don't understand how to create the ATR file that runs my .BAS program. What do I need from https://www.atarimax.com/jindroush.atari.org/asoft.html ? I see a list of tools. How do I use the ATR and SYS and my tokenized .bas BASIC file? I suppose ATR is a disk image and SYS is a program that I have to store inside the ATR file. I then need a tool to store the .bas and .sys inside ATR. Which tool and how? I would like to create an automatic procedure (a script that runs the necessary tools with the right parameters). Thanks
  6. I do use copy and paste but I want to make a release of my game into a standard format that is loaded immediately by the emulator such as xex, atr, etc. How can I convert the text file into a tokenized basic file to be converted into xex?
  7. I am looking for a fully automatic tool (script/command line) to convert a text file containing an Atari BASIC program into a format that can be loaded by an emulator. Any format better than plain text would do for me. I suppose I need to tokenize the file and them insert it into some xex or atr container. Anyone has a suggestion?
  8. @tursi, I have already posted my Makefile here, which is a trivial one with just all the source files in one single target line and the -nostdlib flag. It builds all the .o files as expected. It fails with the linking. I most probably need to run the linker command separately with the good linkfile. I was hoping I could do it with a single command line as I do with standard gcc.
  9. @themole, I will try to use a cleaner Makefile target... The current ti99_tiny_no_graphics target if used with the -c option, will produce the .o files. I guess I just need to invoke the linker on those files + use the linkfile, crt and cart files. I can try to invoke the compiler on each file but it fails because it does not find some files. I probably need to include some header files with some include option.
  10. @themole I am not explicitly calling the linker in the ti99_tiny_no_graphics target. I just invoke gcc with no stdlib
  11. @tursi I am not invoking the linker explicitly as gcc does this automatically. My game can be compiled by standard gcc this way. I am using the crt and linkfile from the hello2 example here. I have no stdlib dependencies as I provide what I need myself. I am probably doing something stupid.
  12. I am now close to getting Cross Chase compiled with GCC for TI: " ti99_tiny_no_graphics: $(TI99_CC) $(TI99_OPTS) \ -I$(SOURCE_PATH) \ -D__GCC_BUFFERED__ \ ... $(TINY_FILES) \ $(CROSS_LIB_PATH)/rand/rand.c \ $(TOOLS_PATH)/ti99/cart_header.o \ $(TOOLS_PATH)/ti99/crt0.o " produces the following errors: " ../tools/ti99/crt0.o: In function `_start2': (.text+0x18): undefined reference to `__DATA_START' ../tools/ti99/crt0.o: In function `_start2': (.text+0x1c): undefined reference to `__DATA_END' ../tools/ti99/crt0.o: In function `_start2': (.text+0x22): undefined reference to `__VAL_START' ../tools/ti99/crt0.o: In function `L5': (.text+0x28): undefined reference to `__DATA_END' ../tools/ti99/crt0.o: In function `L4': (.text+0x2e): undefined reference to `__BSS_START' ../tools/ti99/crt0.o: In function `L4': (.text+0x32): undefined reference to `__BSS_END' ../tools/ti99/crt0.o: In function `L10': (.text+0x3c): undefined reference to `__BSS_END' collect2: ld returned 1 exit status make: *** [Makefile:4976: ti99_tiny_no_graphics] Error 1 "
  13. Thanks! I do not use any input/output standard functions. I have a dependency with rand, which is easily replaced with a custum one.
  14. @jedimatt42 How do I remove the -lgcc from my build statement? I just build with tms9900-gcc file1 file2 ... It would be cool if gcc for ti could be used with the very same syntax as gcc
  15. I am trying to use gcc for ti to compile my game Cross Chase. Cross Chase can be compiled with standard GCC and other GCC derivatives but it fails with GCC for TI with a linker error: ld: cannot find -lgcc Cross Chase source code is spread over many files at different locations with lots of nested includes. I have not been able to use any of the template examples (hello or hello2 examples here) for my game. With all other GCC variants I simply use gcc with all the .c files and gcc takes care of linking the object files. GCC for TI fails but if I pass the "-c", it does create the .o fails. I am hoping to be able to link the produced .o files. Is the error about "-lgcc" expected?
  • Create New...