fultonbot #126 Posted May 23, 2021 On 6/13/2020 at 1:29 PM, RevEng said: There aren't any high level string commands. You can plot any string of characters with plotchars. Unlike interpreted basics, 7800basic is meant to be as lean and fast as possible. In terms of low-level string manipulation, there's memset and memcpy, and roll-your-own with memory arrays and loops. This is why I love it. 4 Quote Share this post Link to post Share on other sites
SlidellMan #127 Posted May 25, 2021 I finally made a Game Over screen for Heofonfīr and even provided ROMs and sources. Merely taking it one thing at a time. Game Over Screen Demo 5-25-2021.zip Game_over_demo.bas.a78 Game_over_demo.bas.bin 1 Quote Share this post Link to post Share on other sites
SlidellMan #128 Posted May 26, 2021 Here's an update with the proper palette. Game Over Screen Demo 5-26-2021.zip Game_over_demo.bas.a78 Game_over_demo.bas.bin Game_over_demo.bas.list.txt 1 Quote Share this post Link to post Share on other sites
SlidellMan #129 Posted June 4, 2021 I think the upcoming shot routine will use a for/next loop. At least it would alleviate the wraparound shot problem. Quote Share this post Link to post Share on other sites
SlidellMan #130 Posted June 4, 2021 I thought I would try again with the layered sprites, but now I just end up with a completely yellow display. Lucelia Demo 6-4-2021.zip Vertical Shooter 6-4-2021.zip Lucelia_Movement_demo.bas.a78 Lucelia_Movement_demo.bas.bin Lucelia_Movement_demo.bas.list.txt Quote Share this post Link to post Share on other sites
RevEng #131 Posted June 5, 2021 Here's the relevant excerpt from the yellow screen of death section of the manual... Quote You've somehow managed to begin executing data, rather than program code. This can happen if you return from a routine you didn't gosub to, or if you trigger bankswitching accidentally by writing to the bankswitch hotspot. It's possible to turn off this protection with the set breakprotect off statement, but you should figure out the reason the protection was tripped in the first place. 1 1 Quote Share this post Link to post Share on other sites
SlidellMan #132 Posted June 5, 2021 How foolish of me to not pick up that sooner. Oh well, lesson learned I guess... Next step, to get the sprites to animate properly. 2 Quote Share this post Link to post Share on other sites
SlidellMan #133 Posted June 5, 2021 Here's the updated ROMs and sources. Lucelia_Movement_demo.bas.a78 Lucelia_Movement_demo.bas.bin Lucelia_Movement_demo.bas.list.txt Vertical Shooter 6-5-2021.zip New_Vertical_Shooter_Rewrite3.78b.a78 New_Vertical_Shooter_Rewrite3.78b.bin New_Vertical_Shooter_Rewrite3.78b.list.txt Lucelia Demo 6-5-2021.zip 2 Quote Share this post Link to post Share on other sites
SlidellMan #134 Posted June 27, 2021 I thought it was time to rewrite that vertical test shooter, but upon compiling: Cannot open includes.7800 for reading Vertical Shooter 6-26-2021.zip Quote Share this post Link to post Share on other sites
SlidellMan #135 Posted July 6, 2021 Here's the latest source. Vertical Shooter 7-6-2021.zip Quote Share this post Link to post Share on other sites
SlidellMan #136 Posted July 7, 2021 I fixed up numerous unresolved symbols. Vertical Shooter 7-7-2021.zip Quote Share this post Link to post Share on other sites
fultonbot #137 Posted July 7, 2021 16 minutes ago, SlidellMan said: I fixed up numerous unresolved symbols. Vertical Shooter 7-7-2021.zip 20.78 kB · 2 downloads I could not get this to load. What emulator are you using? Quote Share this post Link to post Share on other sites
SlidellMan #138 Posted July 7, 2021 A7800, and that's just the source code. I was unable to compile due to an includes error. Quote Share this post Link to post Share on other sites
SlidellMan #139 Posted July 8, 2021 Here's the latest source. Vertical Shooter 7-8-2021.zip 1 Quote Share this post Link to post Share on other sites
SlidellMan #140 Posted July 9, 2021 Now with DMAhole adjustments and new variables dimmed. Vertical Shooter 7-9-2021.zip Quote Share this post Link to post Share on other sites
BydoEmpire #141 Posted July 11, 2021 Is there an updated .bin, or is the June 5 version the latest? Quote Share this post Link to post Share on other sites
SlidellMan #142 Posted July 11, 2021 The June 5th version is the latest .bin, and I've been trying to compile the latest source, and weeding out bugs in the code. Currently, I'm trying to fix some Unresolved Symbol problems with the fourth rewrite. 1 Quote Share this post Link to post Share on other sites
SlidellMan #143 Posted July 22, 2021 New demo, and it finally compiled. Now to get it to stop freezing upon moving the joystick. Vertical Shooter 7-21-2021.zip New_Vertical_Shooter_Rewrite4.78b.a78 New_Vertical_Shooter_Rewrite4.78b.bin New_Vertical_Shooter_Rewrite4.78b.list.txt 3 Quote Share this post Link to post Share on other sites
SlidellMan #144 Posted August 19, 2021 Well, I decided to get back to work and upon compiling, get this error: --- Unresolved Symbol List interrupthold 0000 ???? (R ) stack allowance: 20 nested subroutines. the canary is situated at: $1c1 6956 bytes of ROM space left in the main area of bank 1. $2235 to $27ff was claimed as extra DL memory. $1880 to $23ff used as zone memory, allowing 48 display objects per zone. 2334 bytes left in the 7800basic reserved area. 7800basic.h (80): error: EQU: Value mismatch. 7800basic.h (81): error: EQU: Value mismatch. 7800basic.h (82): error: EQU: Value mismatch. 7800basic_variable_redefs.h (142): error: EQU: Value mismatch. 7800basic_variable_redefs.h (144): error: EQU: Value mismatch. 7800basic_variable_redefs.h (146): error: EQU: Value mismatch. Fatal assembly error: Source is not resolvable. Lucelia Demo 8-18-2021.zip 1 Quote Share this post Link to post Share on other sites
Mord #145 Posted August 19, 2021 Looks like in your source you're trying to define temp1, temp2, and temp3 variables, but those are already declared by 7800basic itself. Thus the mismatch complaints. Would be better to just call them as mytemp1, mytemp2, and mytemp3 etc so they don't step on the temp1-temp6 variables 7800basic defines. 3 1 Quote Share this post Link to post Share on other sites
SlidellMan #146 Posted August 20, 2021 (edited) I've fixed that issue in question, along with a few others. Lucelia Demo 8-20-2021.zip Lucelia_Movement_demo.78b.a78 Lucelia_Movement_demo.78b.bin Lucelia_Movement_demo.78b.list.txt Edited August 20, 2021 by SlidellMan Duplicate upload error. 2 Quote Share this post Link to post Share on other sites
SlidellMan #147 Posted October 27, 2021 (edited) Well, I decided to rewrite my Vertical Shooter demo, using what I have learned from @mksmith, @Muddyfunster, @Mord, @RevEng, and @SmittyB. The sources and binaries will be posted when a functioning ROM is compiled. Edit: Here are the Source and Binaries as promised. So far, it runs better than V4. Vertical Shooter 8-27-2021.zip New_Vertical_Shooter_Rewrite5.78b.a78 New_Vertical_Shooter_Rewrite5.78b.bin Edited October 27, 2021 by SlidellMan The New Rom and Sources are now here! 4 Quote Share this post Link to post Share on other sites
SlidellMan #148 Posted November 8, 2021 Time for a much-needed update. While the new shooting engine is better than what got from Atarius Maximus, I still have to correct the bug that causes the bullets to come from the bottom of the screen. New_Vertical_Shooter_Rewrite5.78b.a78 New_Vertical_Shooter_Rewrite5.78b.bin Vertical Shooter 11-8-2021.zip 7 Quote Share this post Link to post Share on other sites
BydoEmpire #149 Posted November 9, 2021 Looks like you got the movement and shooting down, it seems to be working pretty well (on JS7800, haven't tried on bupsystem yet). Good progress! 1 1 Quote Share this post Link to post Share on other sites
+mksmith #150 Posted November 12, 2021 Great job mate! Improving with each build!! 3 Quote Share this post Link to post Share on other sites