vitoco Posted February 12, 2019 Share Posted February 12, 2019 Incredibile Victor! What editor do you use to code? In your FastBasic code I see Atari special characters. Special character can be inserted in FastBasic's IDE by pressing ESC key before a CTRL-something keystroke. I don't know if it is possible to lock the special characters insertion mode. Anyway, I could use FastBasic's IDE, but my development cycle is different.... I use Ultraedit with a custom syntax highlight for FastBasic in my notebook, where I write the BASIC code as any other code with identation and comments. The source listing in the description page of every one of my games is the original one, except that comments were moved to a second column to group instructions, and the binary sequences were replaced by a placeholder to keep the listing clear. Then, I parse the BASIC code with a small script I've programmed similar to dmsc's TBXL-Parser, which removes the comments, abbreviates the instructions, encodes some escaped hex codes into ATASCII (special characters as a binary sequence) and joins all the statements with ":", splitting before reaching the max length allowed for the required category. I keep a FastBasic IDE opened in Altirra with my working folder mounted as drive "H:" or "D2:" , so I can load the abbreviated PROGRAM.LST listing file directly into it without an intermediate ATR file, and then parse it and run to test. But in early stages of the development and when I'm debugging, I just encode the source into ATASCII but do not join the statements in few lines, so I can use FastBasic's IDE to do small tests and tweak it a little in the emulator until it is OK, and then Update my source listing in the PC with the final changes. For long programs, I use F1 key in Altirra to accelerate the parsing stage The hard part is when I try to fit instructions inside the 10 available lines, without leaving too much space at the end of every line, because that means that more FX should be done. Sometimes it is possible to change the order of the statements when there is no dependencies between them, but sometimes I have to split a long expression in two... It's like playing Tetris!!! BTW, the development cycle for TurboBASIC XL and stock Atari BASIC programs is the same, except that the script to encode into ATASCII is a bit different, because the statements abbreviations are not the same and it insert line numbers (not required in FastBasic), and then type NEW, E."H:PROGRAM.LST (or ENTER from D2:) and RUN to test. 5 Quote Link to comment Share on other sites More sharing options...
Fabrizio Caruso Posted February 20, 2019 Share Posted February 20, 2019 Cool! Would you please share your script? I am writing a 10-liner in Atari BASIC and I would like to have a simple way to transfer my code onto Altirra without having to re-edit the inverse/small characters each time I test my game. Quote Link to comment Share on other sites More sharing options...
dmsc Posted February 20, 2019 Share Posted February 20, 2019 Hi! Cool! Would you please share your script? I am writing a 10-liner in Atari BASIC and I would like to have a simple way to transfer my code onto Altirra without having to re-edit the inverse/small characters each time I test my game. Vitoco's script is for FastBasic (se https://github.com/dmsc/fastbasic), not for Atari BASIC. See https://github.com/dmsc/tbxl-parser for a full parser and minimizer for Atari BASIC and TurboBasic XL. Quote Link to comment Share on other sites More sharing options...
vitoco Posted February 21, 2019 Share Posted February 21, 2019 Cool! Would you please share your script? I am writing a 10-liner in Atari BASIC and I would like to have a simple way to transfer my code onto Altirra without having to re-edit the inverse/small characters each time I test my game. My script is far from being a finished product. I'm always changing something to manage special cases. As dmsc said, for Atari BASIC and TurboBasic XL you can use his tool. It does the same and more, like to validate the length of every tokenized line and to change variable names into shorter ones. Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted February 22, 2019 Share Posted February 22, 2019 I agree that those built-in basic are nor fair against other versions, however, built-in Atari Basic C revision is good enough. Too much is never enough! Quote Link to comment Share on other sites More sharing options...
jeffpiep Posted February 24, 2019 Share Posted February 24, 2019 Here's my PUR-120 (FastBasic) entry for this year - reactorX Description at http://jeffpiepmeier.blogspot.com/2019/02/reactorx.html Download ATR and XEX at: https://github.com/jeffpiep/reactorX reactorx.xex 9 Quote Link to comment Share on other sites More sharing options...
jeffpiep Posted February 24, 2019 Share Posted February 24, 2019 Name: Floody Bot Category: Extreme 256 Description: https://atariaction.tumblr.com/post/182441353467/floody-bot-basic-tenliners-contest-2019-entry Floody Bot is loads of fun! Quote Link to comment Share on other sites More sharing options...
jeffpiep Posted February 24, 2019 Share Posted February 24, 2019 Special character can be inserted in FastBasic's IDE by pressing ESC key before a CTRL-something keystroke. I ended up using Omnivore in Windows to edit the source code file inside the ATR disk image to put the special characters in for my PM graphics. Amazing character graphics Victor! So impressed how you used the inverse video to get the extra color. 1 Quote Link to comment Share on other sites More sharing options...
vitoco Posted February 24, 2019 Share Posted February 24, 2019 Here's my PUR-120 (FastBasic) entry for this year - reactorX Description at http://jeffpiepmeier.blogspot.com/2019/02/reactorx.html Download ATR and XEX at: https://github.com/jeffpiep/reactorX reactorx.xex I'm glad to see more people using FastBasic. BTW, please specify the FastBasic version required for this game, as there are major differences between them. At a quick view of your code, I found a MSET statement, which it is not available in version 3.4 and I cannot recall if it was available in version 3.5. OK, I did not test for this and there is no changelog AFAIK. FastBasic is a WIP and sometimes you will get more things in a new version, but sometimes things change, like statement's abbreviations, breaking "old" BASIC code. 2 Quote Link to comment Share on other sites More sharing options...
dmsc Posted February 25, 2019 Share Posted February 25, 2019 Hi! Here's my PUR-120 (FastBasic) entry for this year - reactorX I'm glad to see more people using FastBasic. BTW, please specify the FastBasic version required for this game, as there are major differences between them. At a quick view of your code, I found a MSET statement, which it is not available in version 3.4 and I cannot recall if it was available in version 3.5. OK, I did not test for this and there is no changelog AFAIK. FastBasic is a WIP and sometimes you will get more things in a new version, but sometimes things change, like statement's abbreviations, breaking "old" BASIC code. See the changelog at https://github.com/dmsc/fastbasic/releases MSET was added in version 3.6, with CHR$ and CLS. I just released v4.0, this adds (rather minimal) P/M graphics support, you can use P/M without a single POKE now: DATA TST() BYTE = 24,36,66,129,66,36,24 PMGRAPHICS 1 MOVE ADR(TST), PMADR(0) + 100, 7 MOVE ADR(TST), PMADR(1) + 110, 7 SETCOLOR -4, 4, 8 SETCOLOR -3, 12, 12 REPEAT FOR X=48 TO 200 PAUSE 0 PMHPOS 0, X PMHPOS 1, 248-X NEXT X FOR X=48 TO 200 PAUSE 0 PMHPOS 0, 248-X PMHPOS 1, X NEXT X UNTIL KEY() PMG. 0 Have fun! 5 Quote Link to comment Share on other sites More sharing options...
vitoco Posted February 25, 2019 Share Posted February 25, 2019 Pixelated PuzzleCategory: PUR-120Language: TurboBasic XL 1.5Description and download: http://www.vitoco.cl/atari/10liner/PIXPUZ/https://youtu.be/5S6dcdu89YMThis is the classic sliding puzzle, but with a random missing piece, dificulting on how to start solving it. The core of the program has only 7 lines, and the image is stored in the last 3 lines, and these could be changed to play different puzzles.The ATR contains a lot of images, including:A compilation of the puzzles ready to play is in a program called MENU in the ATR.There is also a puzzle editor in the ATR, so everyone is invited to create their own puzzles and share them here!!!Have fun!!! 13 Quote Link to comment Share on other sites More sharing options...
jeffpiep Posted February 25, 2019 Share Posted February 25, 2019 BTW, please specify the FastBasic version required for this game ... Hi! See the changelog at https://github.com/dmsc/fastbasic/releases I used a between-release version that DMSC provided here: https://github.com/dmsc/fastbasic/issues/3 Maybe that's the same as the newly released version 4. Quote Link to comment Share on other sites More sharing options...
dmsc Posted February 26, 2019 Share Posted February 26, 2019 Hi! I used a between-release version that DMSC provided here: https://github.com/dmsc/fastbasic/issues/3 Maybe that's the same as the newly released version 4. Not the same, it misses the P/M support and some optimizations. I think it is better to just use v4.0 now Have fun! 1 Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted February 26, 2019 Share Posted February 26, 2019 makes me want to take every one of the better ten liners and put them on disks and cartridges to just how many can fit on each, a crap ton of fun in a simple disk or cartridge. Some of this stuff is just incredible. 2 Quote Link to comment Share on other sites More sharing options...
777ismyname Posted February 26, 2019 Share Posted February 26, 2019 That would be one homebrew cartridge I'd definitely buy. Sent from my Moto G (5) Plus using Tapatalk Quote Link to comment Share on other sites More sharing options...
vitoco Posted March 4, 2019 Share Posted March 4, 2019 Pixelated PuzzleCategory: PUR-80Language: Atari BASICDescription and download: https://www.vitoco.cl/atari/10liner/PLATES/ https://youtu.be/2C-K0NOmvII This is a memory challenge. Try to memorize plate numbers that appears in screen, every time for a shorter moment. How many hits can you do in a row? 5 Quote Link to comment Share on other sites More sharing options...
Kyle22 Posted March 4, 2019 Share Posted March 4, 2019 (edited) @Doc, what is the easy way to put all these various BASIC programs onto a cart? Diff BASICs, diff compilers. Please shine light on to the subject. Can the output of all those BASIC compilers be made into an xex or rom file? Which BASICs allow this? Please explain. Thanx. Edit: Nevermind. WHY would anyone want to load a BASIC proggie from a cart? Ugh, this is just crazy. Edited March 4, 2019 by Kyle22 Quote Link to comment Share on other sites More sharing options...
vitoco Posted March 4, 2019 Share Posted March 4, 2019 @Doc, what is the easy way to put all these various BASIC programs onto a cart? Diff BASICs, diff compilers. Please shine light on to the subject. Can the output of all those BASIC compilers be made into an xex or rom file? Which BASICs allow this? Please explain. Thanx. Compiling these games is not an option, as timings would change, making a game unplayable. Alternatively, you could pack them as a rutime plus the original game. I did that once and also found some XEX using the same trick. Be aware that many of the tenliners use static memory addresses and they assume some defaults like the range of free memory. If you change that, the program could fail. A different way is to make a "multi-BASIC" ATR... I've put all the Atari entries of a year in the same ATR (just check 2016 and 2018 compilations from my tenliners page). Is not that difficult... Atari BASIC, TurboBasic XL, OSS Basic XL, FastBasic are the flavors that had been managed at the same time by menu programs But I don't know, for instance, if a game that must be run by Atari BASIC could be loaded from an ATR within another cartridge that is used just as a loader. Quote Link to comment Share on other sites More sharing options...
Savetz Posted March 8, 2019 Author Share Posted March 8, 2019 Name: Bomber Category: PUR-120 Description: https://atariaction.tumblr.com/post/183314857187/bomber-basic-tenliners-contest-2019-entry bomber.atr bomber.txt 14 Quote Link to comment Share on other sites More sharing options...
vitoco Posted March 9, 2019 Share Posted March 9, 2019 Kevin, you beat me with your Kaboom clone. Last week I was writing my own version for the PUR-80 category in plain Atari BASIC, but I still don't know if it will be playable and good looking when it is finished. As you might know, PUR-80 is the only category in which I could not put a game on the podium, and I wanted to achieve it this year. It currently has 8 lines and lacks of the charset setup, a main loop and score. I'm not sure if I could do all of that in only 2 lines (160 chars). These are prototypes screenshots: The first one had raw chars waiting for a charset modification with an infinite loop, and the second one uses standard fonts, but has rounds with increasing dificulty and better control of the misses. 5 Quote Link to comment Share on other sites More sharing options...
Mr SQL Posted March 12, 2019 Share Posted March 12, 2019 This year the Atari 2600 represents with a musical! Simon Says Touch Me This game is a simple Memory challenge based on the classic Atari Touch Me and Simon says programmable games. These musical games were some of the first programmable sequencers a la BigTrek command entry where the commands had to be repeated each time and rekeyed perfectly in order to continue sequencing. The melodious tones change to a musical Jenga whenever you mess up, but the next player can try their hand or you can try again. Reset will restart the game when it becomes too dificult to remember the sequence. 6 Quote Link to comment Share on other sites More sharing options...
vitoco Posted March 17, 2019 Share Posted March 17, 2019 UFO Attack!Category: PUR-80Language: Atari BASICDescription and download: https://www.vitoco.cl/atari/10liner/UFOATAK/Requires: Paddle controllers https://youtu.be/miqW_894aQs If you think this game is very similar to Kevin's Bomber, you are right... This is the evolution of my prototype. Just read the history in the description page. The ATR includes a joystick version and my original idea as a Kaboom! clone, both PUR-80 compliant. 12 Quote Link to comment Share on other sites More sharing options...
Yautja Posted March 17, 2019 Share Posted March 17, 2019 Please, fix the download link as it is broken. Regards, - Y - Pixelated PuzzleCategory: PUR-80Language: Atari BASICDescription and download: https://www.vitoco.cl/atari/10liner/PLATES/ https://youtu.be/2C-K0NOmvII This is a memory challenge. Try to memorize plate numbers that appears in screen, every time for a shorter moment. How many hits can you do in a row? Quote Link to comment Share on other sites More sharing options...
vitoco Posted March 18, 2019 Share Posted March 18, 2019 Please, fix the download link as it is broken. Regards, - Y - Sorry... I not only forgot to store the ATR in my page, I also copied and pasted the wrong game name in that post. My bad! As I cannot update that post, here it goes again: --------------- License Plates Category: PUR-80 Language: Atari BASIC Description and download: https://www.vitoco.cl/atari/10liner/PLATES/ https://youtu.be/2C-K0NOmvII This is a memory challenge. Try to memorize plate numbers that appears in screen, every time for a shorter moment. How many hits can you do in a row? 6 Quote Link to comment Share on other sites More sharing options...
Kaz atarionline.pl Posted March 20, 2019 Share Posted March 20, 2019 IAs I always say, Atari building BASIC XL into XLs or XEs would have rocked, The official Atari distributor in Poland, PZ Karen, released the modified Atari computers in the late 80's, models: 128 XT, 192 XT and 256 XT with extended memory, Centronics port and Basic XL/Basic XE build in. Thus, keeping the compo rules, you can use these implementations of Basic... 6 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.