![]() |
|
C64 BASIC |
StevenVI
Member #562
July 2000
![]() |
Well, this is for any programming-related topic, right? Good, here's my C64 trouble. __________________________________________________ |
Matthew Leverton
Supreme Loser
January 1999
![]() |
This code looks fine from a glance; what does it do for you? I can try it on my C64 later tonight. I still have it hooked up; it brings back my childhood. |
StevenVI
Member #562
July 2000
![]() |
Well, it appears to do nothing, but I know it does something, cause when you hit RUN/STOP it displays the ball if it's stopped at the right part, but (obviously) ends the program. I'm wondering if my C64 is just messed up somehow or what... it is a bit old after all... __________________________________________________ |
Matthew Leverton
Supreme Loser
January 1999
![]() |
short response cuz i'm using my dreamcast without a keyboard... change "25" to "24" in line 90 |
llyod
Member #754
November 2000
![]() |
Possibly the reason is the DX = -DX thing. If is X < 0 then the char plotter will poke into memory BEFORE screenmemory, and that's stack I think, so it'll mess up. Regards, -------------------------------------- |
Ahhhh Penis
Member #564
August 2000
![]() |
U got a dreamcast too? They r kewl, but I there should be more multiplayer (over internet) games for them. U got soulcalibur or house of the dead 2? Kewl games. Anyway, seeing this has nothing to do with game programming at all and will not achieve anything, I wont make this message too long. |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Possibly the reason is the DX = -DX thing. If is X < 0 then the char plotter will poke into memory BEFORE screenmemory, and that's stack I think, so it'll mess up. |
StevenVI
Member #562
July 2000
![]() |
Okay, I think that I did have 24 in my program, hold on, I'm gonna go check... okay, yeah, I had it at being 24 for the bounds of the y axis. Type-o in the original thing. Okay, here's my main problem, though. My program works fine until it displays text to the screen, then it decides that it doesn't like the POKE command anymore. It's really confusing... I should just mail one of you guys my C64 and have you ness with it ...I think I'm gonna go screw with it... maybe I'll write up all the source for my game on the computer so you guys can see exactly what's going on with it, although I doubt it would work, if the sample code that I posted works fine for everyone else... __________________________________________________ |
StevenVI
Member #562
July 2000
![]() |
Okay, I messed around with it... I narrowed down the reason it doesn't display the ball to the PRINT "{CLR/HOME}" function/whatever you'd call it. I noticed that my demo didn't mimic what happened in my program exactly... some oughtta give me a nice hard kick. Okay, from step one again here... it prints text to the screen saying which player scored, the the screen is then cleared once the player hits spacebar. The main loop is called again, and the ball does not display. When the PRINT "{CLR/HOME}" lines are REMed out, the ball displays everywhere it's supposed to. I downloaded an emulator... I should probably re-type all the code onto there to see it it works... __________________________________________________ |
|