-
Content Count
75 -
Joined
-
Last visited
Posts posted by satyrsfaction
-
-
Found dasm version: DASM 2.20.12Starting build of text_adventure2.basbatari Basic v1.4 (c)20202600 Basic compilation complete.--- Unresolved Symbol Listfree ram: 0DPC free RAM= 6038 bytes of ROM space left in bank 13624 bytes of ROM space left in bank 2522 bytes of ROM space left in bank 3897 bytes of ROM space left in bank 43626 bytes of ROM space left in bank 53919 bytes of ROM space left in bank 6885 bytes of ROM space left in graphics banktext_adventure2.bas.asm (3876): error: Illegal Addressing mode 'bit '.text_adventure2.bas.asm (3970): error: Illegal Addressing mode 'bit '.text_adventure2.bas.asm (4064): error: Illegal Addressing mode 'bit '.text_adventure2.bas.asm (4296): error: Illegal Addressing mode 'bit '.Fatal assembly error: Source is not resolvable.Build complete.Cleaning up files generated during compilation...Can someone tell me what this means and how to fix it?
-
3 hours ago, iesposta said:To optimize your source code, use one line when values are the same.
Example:
DF0FRACINC = 0: DF1FRACINC = 0: DF2FRACINC = 0: DF3FRACINC = 0
Not:
DF0FRACINC = 0
DF1FRACINC = 0
DF2FRACINC = 0
DF3FRACINC = 0
It can save hundreds of bytes of ROM per bank. But this can make the source code harder to read when one line gets very long.
This is something I wish the compiler would optimize.
The first way compiles to “load 0, store 0 in these registers”.
The second way - the way everyone codes - compiles to “load 0, store 0, load 0, store 0, load 0, store 0, load 0, store 0”.
Thanks!
-
well, another update....now the final maze, instead of becoming entirely visible when you have the Seer, i did a halo of light like in the original Adventure. I finally figured out how to do it. theres still one bug that I can't figure out...the Harp keeps going back to its original room when you drop it. Grr.
-
1
-
-
I wish I could see it....but nothing I've played the game on does that. anyone feel like looking at my code? It's probably a mess.
-
18 hours ago, TwentySixHundred said:During collisions the screen jumps and changing rooms seems fine. DFxFRACINC lines need to be in the mainloop and anytime before you call drawsceen.
OK, i put the lines in every time I call drawscreen. Did it help?
-
Ok, well I do switch banks when the player switches rooms...i look into your suggestion. So the DFxFRACINC lines should or shouldn't be called before draw screen and should or shouldn't be part of the main loop? At any rate, I updated the game so it has two levels now. The second level has random placement of the objects and companions.
-
I'm using Atari Dev Studio, and OpenEmu for testing it. Not sure what version of Batari or Stella they use. What is an ARM driver? Sorry, I'm a beginner.
-
9 minutes ago, Karl G said:This looks potentially fun, but the screen shakes on my version of Stella at least (6.0.2 Mac). In the past, this has been caused by the DFxFRACINC lines not being in the main loop (called before drawscreen).
Is this better?
-
Thats so weird. it doesn't do that on mine at all. But, I'll look into that.
-
I finally finished my first ever Atari game, which I made in Batari Basic. I call it Text Adventure. I made it mainly as a means to learn the language. It's a small Adventure-style game, but the items, monsters, etc. are represented by words instead of pictures. My idea behind this is to, in some small way, capture the feel of the tabletop RPGs where you use your imagination. I figured that seeing the word would more readily inside one to imagine the thing than seeing a picture or icon. Whether or not my theory holds up is up to you, I guess. Haha.
Anyway, the object is to find the Gem and bring it to the temple. The Gem is in the Castle, and you'll need the Key to get inside. You can use the Axe to fight monsters, or the Harp to put them to sleep. There are also two companions you can find: the Hero, who increases your combat abilities, and the Seer, who helps you see in the dark castle. Hope you enjoy, Thanks.
Thanks to orange808 for all his help.
Below is the really, really final, updated, corrected version of Text Adventure! (3/22/20) Enjoy!
-
3
-
-
OK, serious offer. I'm finding this extremely frustrating. What would it take to get someone to just figure this out for me so I can get back to the fun part?
-
18 hours ago, Lillapojkenpåön said:use pfpixels like this to find the pixel above, below, to the left of and to the right of
temp5 = (ballx - 9)/4
temp6 = (bally + 14)/8
pfpixel temp5 temp6 on
I also made some examples a while ago, but they are for the standard kernel, in the standard kernel playery is the bottom of the player, and the top would be playery - playerheight, so not like the DPC+ kernel, but left and right is probably the same, so it might be useful.
ok, I'm confused ... when i put in your numbers and use pfpixel, the pixel appears way to the right and up from the player position. Shouldn't it be right on top of it? Or am I just not understanding this at all?
-
thank you everyone for your help.
-
1
-
-
1 hour ago, Lillapojkenpåön said:If you make a new project with just your playfield and movable ball and post that it would be easier to help
-
is there a difference if you're using DCP+? i tried it again, and it compiled, but it still doesn't seem to be working right. I have it drawing a playfield pixel, and its still way off from the player's position.
-
OK, i still don't have a handle on this. my playfield is 30 playfield pixels high, and I'm using the ball as my player -- it's 6 pixels tall by 4 wide. since the the playfield is 88 tall, that means i'd be dividing by roughly 3, right? when I put in that value I get this:
--- Unresolved Symbol Listdiv8 0000 ???? (R ) -
4 hours ago, Random Terrain said:The numbers used with pfread can be used with pfpixel. When I change the screen resolution, I comment out the collision detection code with rem and put in pfpixel so I can see if things are lined up properly. Since you are new, do it with a working example program first so you can see exactly where pfpixel is supposed to be in relation to the sprite. Then you can play with the numbers until it looks the same in your program.
OK, i tried it and with the sample program, the pixels appeared on top of the sprite. So i tried it with my game, and I'm having difficulty lining up the pixels. what do the numbers mean? which ones should I try changing? thanks for your help.
-
42 minutes ago, Random Terrain said:Use pfpixel. Once you get the pfpixel where it should be, you can use those numbers. You might want to try it on an example program that works and see how that looks, then try it on your adapted version.
Thanks, but I'm not sure I understand what you mean -- i'm just a beginner.
-
Well, I solved my memory problems for now. Apparently you can put the playfield data in another bank and it works fine. I still don't know how to fix my collision detection with the playfield. I just don't understand how to adapt Random Terrain's collision prevention to this new play field resolution.
-
Hi, i'm very much a beginner at this -- i started a little adventure style game as a means of learning Batari Basic....I hope to expand on it later. I'm having two major problems. First, the collision detection i came up with is terrible. I wanted to use the collision prevention in Random Terrain's manual, but it doesn't seem to work, perhaps because my game is a different play field size? Second, i'm out of memory and unfinished. what can i do to save memory, or to move stuff to other banks -- i'm just not sure how that works. will variable values stay assigned if you switch banks? Will play field information stay if you assign it from a different bank?
-
-
I'm just starting out in Batari Basic, and I decided to convert my initial attempt into DCP+ in order to have more sprites available. but now, the play field won't show up -- the player still collides with it, but it's invisible. Can anyone tell me what I'm doing wrong?
-
Thanks -- I got it to work. I think I was thinking of the C64 when I was talking about loading and running files. Anyway, It's a great game. I'm glad I was able to play it again.
-
Hi,
I'm trying to run Return of Heracles on an Atari 800 emulator. OK, it's been a while... once I put in the disk -- what do I do? I assume I'm supposed to load and run something, but I don't even remeber how to get a directory of the disk. Help me please. Thanks.

Text Adventure
in Homebrew Discussion
Posted
Sure. I was just trying to streamline my code and all these errors started showing up.
text_adventure2.bas