+atari2600land Posted June 1, 2019 Author Share Posted June 1, 2019 Added a new maze and changed a few things. I'm wondering how many mazes I should put in the game. As it stands, I have 13,354 bytes left for maze data in the maze data bank (bank 1). I don't know if I can put in more maze data in other banks and then have it call them. Why is it that you can only use "loadrombank" in the last bank only? gosub12.zip 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4284701 Share on other sites More sharing options...
RevEng Posted June 1, 2019 Share Posted June 1, 2019 Why is it that you can only use "loadrombank" in the last bank only? If you were running code in a lower bank and switching lower banks with "loadrombank" was allowed, it would yank away the code the game was running, and start running code at the next address in the new bank. This would almost certainly crash the game. If you want to bankswitch a lower bank from an existing lower bank, you need to use a bankswitched goto or gosub instead. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4284713 Share on other sites More sharing options...
+atari2600land Posted June 1, 2019 Author Share Posted June 1, 2019 I'm trying to put maze data in a bank that isn't bank 1, and I'm having a hard time. I used "loadrombank bank3" which is the bank in which the maze data I want to appear is in. But the maze data is all messed up, yet all the other sprites are fine. What is going on here? Am I trying to do something that can't be done? gosubhelpme05312019.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4284784 Share on other sites More sharing options...
+atari2600land Posted June 1, 2019 Author Share Posted June 1, 2019 I think I figured it out. "loadrombank" doesn't like to work, so instead I should put the map data in the same bank as the code where I'm plotting the map. But why doesn't loadrombank work at all? Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4284792 Share on other sites More sharing options...
+atari2600land Posted June 1, 2019 Author Share Posted June 1, 2019 Found another stunt it likes to pull on me. So tell me if it decides to do that. I played through all 6 levels and it didn't, but with computers and my luck, who knows? In this build, mazes 1-5 are in bank 2 and maze 6 is in bank 7 just as a test to see if I could. gosub13.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4284809 Share on other sites More sharing options...
+atari2600land Posted June 2, 2019 Author Share Posted June 2, 2019 New level. When it compiles, it says I have "15 display objects per zone." How big is a zone? gosub14.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4285192 Share on other sites More sharing options...
RevEng Posted June 2, 2019 Share Posted June 2, 2019 The screen is sliced up into horizontal bands called zones. Each row of characters/tiles would be one zone. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4285193 Share on other sites More sharing options...
+atari2600land Posted June 2, 2019 Author Share Posted June 2, 2019 It should be mentioned in the 7800basic Guide that if you wish to use score0, you have to display 5 digits. I kept wondering why it wasn't working correctly when I was displaying 4, but if I bumped it up to 5, then it works right. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4285220 Share on other sites More sharing options...
+atari2600land Posted June 7, 2019 Author Share Posted June 7, 2019 Every ten screens you get a bonus round in which 10 octopi travel in a straight line either left or right of various heights. The sub cannot move, and the object is to hit all the octopi. If you do, you get an extra life. If you don't, well there's still incentive because each octopus shot at still gets you a point. This is what I worked on today. Pressing fire will get you to the bonus round. I had a tough time trying to make it be 10. Eventually what worked was starting the octopus counter value at 250 and works its way up to 5. I'm sure there is another way, but I couldn't do it. "dec" wasn't working the way it was. gosub18.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288135 Share on other sites More sharing options...
+atari2600land Posted June 8, 2019 Author Share Posted June 8, 2019 Since I want this on cart, and the revelation I was reading about how I needed for it to be 48k or so in order to do that, I drastically reduced my game from 128kRAM down to 48k. Turns out I still have about 30,000 bytes left! Also, the maps were garbled, so I changed the whichmap=$4000 to whichmap=$3000 which made it work perfectly. In this version, also, the game starts at level 8 so you can see the three new levels I put in. gosub19.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288300 Share on other sites More sharing options...
+Mitch Posted June 8, 2019 Share Posted June 8, 2019 Why does it need to be 48K? Mitch Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288313 Share on other sites More sharing options...
+atari2600land Posted June 8, 2019 Author Share Posted June 8, 2019 I don't know. Room for more mazes, I guess. If I can make it 48k and still have it be bankswitchless and cart-makeable, I don't see a reason why not. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288314 Share on other sites More sharing options...
+Mitch Posted June 8, 2019 Share Posted June 8, 2019 I guess I was just wondering why you had to convert it down to 48K to work on a cart. 128K carts are not hard to make. Mitch Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288317 Share on other sites More sharing options...
+atari2600land Posted June 8, 2019 Author Share Posted June 8, 2019 OK, I was thinking you were asking why not make it 32k. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288327 Share on other sites More sharing options...
+atari2600land Posted June 8, 2019 Author Share Posted June 8, 2019 Just downloaded and installed A7800 and discovered my game wasn't working on it. It now does. I've been using ProSystem to test, but I guess I should use A7800? gosub20.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288344 Share on other sites More sharing options...
Trebor Posted June 8, 2019 Share Posted June 8, 2019 It has happened to developers before, leveraging the ProSystem emulator only to find their program does not run on real hardware. While actual hardware testing is best, A7800 is a much better option than ProSystem for testing. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288418 Share on other sites More sharing options...
+atari2600land Posted June 8, 2019 Author Share Posted June 8, 2019 How do I test it on a real 7800? Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288464 Share on other sites More sharing options...
gambler172 Posted June 8, 2019 Share Posted June 8, 2019 How do I test it on a real 7800? Hi Chris if you have a multicart or a devcart.CPUWIZ makes devcarts,which are great for developers. or the emulator A78 is great for testing,if you do not own a dev or multicart For sure,it is a pleasure for me,to test for you greetings Walter Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288600 Share on other sites More sharing options...
+atari2600land Posted June 8, 2019 Author Share Posted June 8, 2019 I PM'ed CPUWIZ about 7800 dev carts. In the meantime, I've made a few changes. + Made the GoSub logo "3D" (Like the "Super Mario Bros." in the SMB block at the beginning of that game). + Added a new level after the bonus level. + The torpedo now faces both left or right. + I noticed that you could just stay at one screen and shoot octopuses and make your score go up that way. But that seems boring. Yet I added a 100 point bonus when you get the treasure on each screen so there's incentive to get to the treasure. gosub22.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288729 Share on other sites More sharing options...
+atari2600land Posted June 8, 2019 Author Share Posted June 8, 2019 Can I change the two zones above the beginning of the maze? I tried and can't seem to. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288755 Share on other sites More sharing options...
+atari2600land Posted June 9, 2019 Author Share Posted June 9, 2019 Help me again. Why won't this work? As soon as fire is pressed, it cycles through all its lives before the player even has a chance to play and before the score can even be put on screen? What am I doing wrong here? helpmewiththis.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288935 Share on other sites More sharing options...
+atari2600land Posted June 9, 2019 Author Share Posted June 9, 2019 I stayed up all night to work on this. It's 6AM right now. I think I made it work again, although I'm not sure how. I had to do a bunch of zany stuff I didn't understand, like put the scoredigitscomputer.png file in even though it wasn't being used at all. Oh well. At least it works good, I think. I will eat some mashed potatoes and go to sleep soon. gosub23.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4288985 Share on other sites More sharing options...
+atari2600land Posted June 10, 2019 Author Share Posted June 10, 2019 One thing I don't get is why in the bonus level it gives you the same y values despite me using the rand function. I tried seeding rand but that didn't help. gosub24.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4289302 Share on other sites More sharing options...
Shawn Posted June 10, 2019 Share Posted June 10, 2019 A 48k pcb socketed for use with a 64k eprom\eeprom would be more than enough to test with on real hardware over and over till you have it right. I'd go with an EEPROM if I was you as you can erase them with the programmer and don't need to wait on a UV lamp eraser. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4289336 Share on other sites More sharing options...
+atari2600land Posted June 10, 2019 Author Share Posted June 10, 2019 Thanks, but I don't have an EEPROM burner or anything like that. What I was hoping for is more like a Harmony Cart-like device for the 7800. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/2/#findComment-4289345 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.