TIX Posted September 24, 2019 Share Posted September 24, 2019 On 9/23/2019 at 4:28 AM, atari2600land said: I have some rather depressing news. Due to the amount of space reserved for graphics, all I have room for is a 36x36 pixel picture. So I played with the code and got a picture of a huge treasure chest in. Perhaps TIX can make it better than what I have now? Also, I only have room for 20 levels, not the 30 I was hoping for. ..bummer In my opinion the chest is more appropriate for a win screen ! I have squeezed my sinking sub into 36x36 stamp size.. I think it looks pretty good considering ! Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4356642 Share on other sites More sharing options...
+atari2600land Posted September 24, 2019 Author Share Posted September 24, 2019 That's what I was working on. Do you want me to put this picture in the game over screen or the ending screen? Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4356647 Share on other sites More sharing options...
TIX Posted September 24, 2019 Share Posted September 24, 2019 The sinking sub goes definitely in the game over screen. Ending screen you mean when you complete the game right ? Let me work something out.. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4356667 Share on other sites More sharing options...
TIX Posted September 25, 2019 Share Posted September 25, 2019 Game complete screen: and in png form Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4357462 Share on other sites More sharing options...
+SmittyB Posted September 25, 2019 Share Posted September 25, 2019 On 9/23/2019 at 2:28 AM, atari2600land said: Due to the amount of space reserved for graphics, all I have room for is a 36x36 pixel picture. To be honest I'd be very surprised if you had completely filled 4 graphics blocks. Remember that (assuming you're using a 16 line zone size) you can cut down graphics into 4*16 blocks, and if you've got a large graphic with lots of empty space then you can always split it into different parts. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4357772 Share on other sites More sharing options...
TIX Posted September 26, 2019 Share Posted September 26, 2019 OK I think I'm done, find final pics below, feel free to use them or not sinking 36x36 png: winning 36x36 png: Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358105 Share on other sites More sharing options...
+atari2600land Posted September 26, 2019 Author Share Posted September 26, 2019 13 hours ago, SmittyB said: To be honest I'd be very surprised if you had completely filled 4 graphics blocks. Remember that (assuming you're using a 16 line zone size) you can cut down graphics into 4*16 blocks, and if you've got a large graphic with lots of empty space then you can always split it into different parts. If I put two 64x64 pictures in, it says I have -3000 bytes left. I'm using an 8 line zone size, but I don't see how that makes a difference. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358114 Share on other sites More sharing options...
+SmittyB Posted September 26, 2019 Share Posted September 26, 2019 Everything the 7800 draws is 1 zone tall (anything taller is actually drawn as separate pieces) so the smallest unit of graphics data you can have is 1 byte by 1 zone, or in your case 4 by 8 pixels. As everything is a zone tall, anything not a multiple of the zone size gets padded with zeroes so a 36*36 image is actually stored as a 36*40 image (9*5 of those small 4*8 units). If you had a 16 line zone size then it would be stored as a 36*48 image. If you were to take all of your graphics and cut them up into 8 line tall strips I imagine you would find that a lot of it is wasted space. What I meant to say before is that by identifying where that empty space is you can break up the graphics you import to make better use of ROM. It would mean that rather than say a single call to plotbanner you might have to make a few calls to plotsprite but it would be a way to squeeze in more graphics. 2 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358322 Share on other sites More sharing options...
+atari2600land Posted September 27, 2019 Author Share Posted September 27, 2019 Then why does it keep telling me I don't have enough room? segment: INITIAL CODE SEGMENT a000 vs current org: bc39 -7225 bytes of ROM space left in the main area. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358567 Share on other sites More sharing options...
+mksmith Posted September 27, 2019 Share Posted September 27, 2019 2 hours ago, atari2600land said: Then why does it keep telling me I don't have enough room? If your using 160B for your image I've found those images take up a huge amount of space. The ship on the intro in Arkanoid takes up 2.5 gfx blocks (of 3 in banks) just for that. From memory it's around 96x96 pixels (split into a left and right side). I'm going to have to do what SmittyB suggested to fit in some of the additional animations. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358651 Share on other sites More sharing options...
+atari2600land Posted September 27, 2019 Author Share Posted September 27, 2019 I was able to bump up the image size to 36x48 in case that helps. I still only have room for just 20 levels, though I don't see why. Most of the program is in dmahole 0 for some reason. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358713 Share on other sites More sharing options...
+atari2600land Posted September 27, 2019 Author Share Posted September 27, 2019 Oh, and I changed the graphics for the treasure chest ending so it matches more. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358714 Share on other sites More sharing options...
+mksmith Posted September 27, 2019 Share Posted September 27, 2019 3 hours ago, atari2600land said: I was able to bump up the image size to 36x48 in case that helps. I still only have room for just 20 levels, though I don't see why. Most of the program is in dmahole 0 for some reason. Have you added a dmahole 1 further down? you might be able to fit in more code. The compilation output should tell you if there is more space. For example: 339 bytes of ROM space left in DMA hole 0. 1485 bytes of ROM space left in DMA hole 1. 2048 bytes of ROM space left in DMA hole 2. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358777 Share on other sites More sharing options...
TIX Posted September 27, 2019 Share Posted September 27, 2019 5 hours ago, atari2600land said: I was able to bump up the image size to 36x48 in case that helps. I still only have room for just 20 levels, though I don't see why. Most of the program is in dmahole 0 for some reason. It's no use drawing and redrawing the images in different resolutions and colors, so I wait the final specs to finalize them ! Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4358808 Share on other sites More sharing options...
+atari2600land Posted September 27, 2019 Author Share Posted September 27, 2019 Yes, I added a DMA Hole 1. 7800basic compilation complete. User-defined 7800.asm found in current directory 931 bytes of ROM space left in the main area. 101 bytes of ROM used by the song 'itwontplay' 46 bytes of ROM used by the song 'youaredead' 352 bytes of ROM space left in DMA hole 0. 984 bytes of ROM space left in DMA hole 1. $1880 to $1fff used as zone memory, allowing 15 display objects per zone. 1548 bytes left in the 7800basic reserved area. 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359121 Share on other sites More sharing options...
+atari2600land Posted September 28, 2019 Author Share Posted September 28, 2019 OK, here's the deal. The game will have 25 levels. I tinkered with the code a lot today. I don't have any room for more than 25 levels, but I do have room for an ending screen song, a boss song, and perhaps a bonus game song. I only have 105 bytes left in the main area, so I'll have to put the song data in DMAHOLE 0 where the most data free is. There's not much room in 32k for what I had originally planned, but it's close to what I wanted. gosub20190928.zip 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359452 Share on other sites More sharing options...
Trebor Posted September 28, 2019 Share Posted September 28, 2019 3 hours ago, atari2600land said: ...There's not much room in 32k for what I had originally planned, but it's close to what I wanted. If interested in achieving closer to, or exactly, what you wanted, 7800 games go up to 48K without the need for bankswitching. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359491 Share on other sites More sharing options...
+atari2600land Posted September 28, 2019 Author Share Posted September 28, 2019 Yeah, I know, but wouldn't it be easier to make cartridges for if it was 32k rather than 48k? Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359493 Share on other sites More sharing options...
gambler172 Posted September 28, 2019 Share Posted September 28, 2019 2 hours ago, atari2600land said: Yeah, I know, but wouldn't it be easier to make cartridges for if it was 32k rather than 48k? I do not think so...... Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359555 Share on other sites More sharing options...
bah Posted September 28, 2019 Share Posted September 28, 2019 Chris I like it. Plays well 32k I can put on most any original board, just needs a hex inverter like 4 k 2600 games. 48 k is not too hard but it won't fit on the base cartridge board. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359575 Share on other sites More sharing options...
+Mitch Posted September 28, 2019 Share Posted September 28, 2019 48K carts are very easy to make. Don't let that hold you back from making the game the way you want it. Mitch Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359632 Share on other sites More sharing options...
+atari2600land Posted September 29, 2019 Author Share Posted September 29, 2019 I guess the only thing that separates this version from the one I wanted was the number of different levels. 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4359920 Share on other sites More sharing options...
TIX Posted October 6, 2019 Share Posted October 6, 2019 Hey, Currently trying to tie loose ends, starting a new big project and all.. so here are the final wining/loosing pics, in 36x48 and with the latest colors provided.. Enjoy ! ending.zip 4 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4364769 Share on other sites More sharing options...
+atari2600land Posted October 8, 2019 Author Share Posted October 8, 2019 Thank you so much. Now that I think I finished (for now) another project, I'll come back to this soon. 2 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4366200 Share on other sites More sharing options...
+atari2600land Posted October 8, 2019 Author Share Posted October 8, 2019 Got the ending images in the game. Stuff left to do: + Add three more mazes + Add ending song + Add boss song + (Perhaps if there's enough room) Add bonus game song. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/8/#findComment-4366306 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.