Recognizing running program in C64 mode / on real C64

Started by MIRKOSOFT, September 30, 2009, 10:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MIRKOSOFT

Hi!

I have simple Q:

Can I in code recognize that C64 program is running on real Commodore 64 or on Commodore 128 in C64 mode?

Thanks for every reply.

Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk

Blacklord

Quote from: MIRKOSOFT on September 30, 2009, 10:43 AM
Hi!

I have simple Q:

Can I in code recognize that C64 program is running on real Commodore 64 or on Commodore 128 in C64 mode?

Thanks for every reply.

Miro

Yes, there is a way. See this post.

Lance

MIRKOSOFT

...can detect size of VDC-RAM?

'cause working with registers $D600/$D601 is possible and also accessing VDC-RAM...

Thanks.

Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk

Blacklord

Quote from: MIRKOSOFT on October 01, 2009, 11:30 AM
...can detect size of VDC-RAM?

'cause working with registers $D600/$D601 is possible and also accessing VDC-RAM...

Thanks.

Miro

Yes you can do that as well (there are several posts about it here on the forum) - head for the search function.

cheers,

Lance

MIRKOSOFT

Hi Lance!

I know how to detect size of VDC RAM in C128 mode.
But how to do it in C64 mode?

Thank you for reply.

Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

http://www.mirkosoft.sk