Discussion:
BASIC game not working on Chameleon
paul.slocum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [chameleon_64]
2014-08-04 16:03:56 UTC
Permalink
I'm trying to restore an old game that uses a Commodore 64 with a BASIC program, but I can't get the program to run on the Turbo Chameleon 64. The game runs on VICE, CCS64, and a real Commodore, but when I run it on the TC64 I get an "Out of memory error" when it gets to the main game loop. Anyone have any idea what would be causing this?


I've run lots of commercial games and demos on Chameleon and haven't had any problems, so I'm surprised this BASIC program is having problems.


thanks,


-paul
Jens Schoenfeld jens-S0d+oa0fsY4@public.gmane.org [chameleon_64]
2014-08-04 17:14:15 UTC
Permalink
Hi Paul,

first of all, you should go through the settings menu and create a setup
that is most similar to the setup that you've used to create the
program. Most of the times, the turbo mode should not be enabled at all,
and you should also disable cartridge emulations. The most common
mistake is to have too many expansion emulations enabled, which results
in a "moster machine" is you imagine what real hardware would look like.
This may have funny effects of all kinds, including a simple Basic
program running out of memory, for example if you only have 30719
instead of 38911 Basic bytes free due to a menu setting.

ciao,
--
Jens Schönfeld
Post by paul.slocum-***@public.gmane.org [chameleon_64]
I'm trying to restore an old game that uses a Commodore 64 with a BASIC
program, but I can't get the program to run on the Turbo Chameleon 64.
The game runs on VICE, CCS64, and a real Commodore, but when I run it
on the TC64 I get an "Out of memory error" when it gets to the main game
loop. Anyone have any idea what would be causing this?
I've run lots of commercial games and demos on Chameleon and haven't had
any problems, so I'm surprised this BASIC program is having problems.
thanks,
-paul
------------------------------------
Posted by: Jens Schoenfeld <jens-S0d+***@public.gmane.org>
------------------------------------
paul.slocum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [chameleon_64]
2014-08-04 17:35:42 UTC
Permalink
Thanks for the reply. As far as I can tell, it is set up just like a stock Commodore 64. I'm getting 38911 bytes free on startup.

These are my settings:
http://imgur.com/BkSfFgv http://imgur.com/BkSfFgv



http://imgur.com/6kx40r6 http://imgur.com/6kx40r6



-paul
paul.slocum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [chameleon_64]
2014-08-04 17:38:36 UTC
Permalink
I just realized that the settings I posted had the REU turned on, but that was just the last setting I tried changing. I've had the REU turned off for all my previous tests.

-paul
paul.slocum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [chameleon_64]
2014-08-06 15:17:40 UTC
Permalink
I traced through the BASIC program, and the problem appears to be related to an incompatibility in Chameleon's handling of spite to background collisions ($D01F). I'm getting different values from the collision detection register on Chameleon than I am on any other emulator or on a real machine, and that's what was causing the game to crash.

-paul
Tobias tobias-S0d+oa0fsY4@public.gmane.org [chameleon_64]
2014-08-06 15:23:22 UTC
Permalink
Post by paul.slocum-***@public.gmane.org [chameleon_64]
I traced through the BASIC program, and the problem appears to be related to
an incompatibility in Chameleon's handling of spite to background
collisions ($D01F). I'm getting different values from the collision
detection register on Chameleon than I am on any other emulator or on a
real machine, and that's what was causing the game to crash.
yes, that is one of the remaining VIC-II bugs. interesting that it even
affects basic programs like that :)
--
http://www.icomp.de http://wiki.icomp.de


------------------------------------
Posted by: Tobias <tobias-S0d+***@public.gmane.org>
------------------------------------
Matteo Trevisan matteo_t-ur4TIblo6goN+BqQ9rBEUg@public.gmane.org [chameleon_64]
2014-08-09 03:05:22 UTC
Permalink
I have a new RRNET III for chameleon bought from vesalia but they havent provide the software contiki to make it works, someone can give me it?
Thank you

Matteo Trevisan


Il Mercoledì 6 Agosto 2014 17:23, "Tobias tobias-S0d+***@public.gmane.org [chameleon_64]" <chameleon_64-***@public.gmane.org> ha scritto:



 
Post by paul.slocum-***@public.gmane.org [chameleon_64]
I traced through the BASIC program, and the problem appears to be related to
an incompatibility in Chameleon's handling of spite to background
collisions ($D01F). I'm getting different values from the collision
detection register on Chameleon than I am on any other emulator or on a
real machine, and that's what was causing the game to crash.
yes, that is one of the remaining VIC-II bugs. interesting that it even
affects basic programs like that :)
--
http://www.icomp.de http://wiki.icomp.de
Spider Jerusalem spider-BWapaiXhyQlfOZc0+OmrVg@public.gmane.org [chameleon_64]
2014-08-09 06:24:02 UTC
Permalink
http://contiki.cbm8bit.com/
Post by Matteo Trevisan matteo_t-ur4TIblo6goN+***@public.gmane.org [chameleon_64]
I have a new RRNET III for chameleon bought from vesalia but they havent provide the software contiki to make it works, someone can give me it?
Thank you
Matteo Trevisan
------------------------------------
Posted by: Spider Jerusalem <spider-BWapaiXhyQlfOZc0+***@public.gmane.org>
------------------------------------

Loading...