-
-
thereald3bug You need the Mega65.rom?
-
thereald3bug You need the Mega65.rom?
I didn't know about the whole patching 911001.bin... i am good now... except for one thing..... it seems BASIC has a bug.... you cannot set TI$
if you type for example:
TI$=""
you get "?RESERVED NAME ERROR"
but yet you can print TI$...
-
I didn't know about the whole patching 911001.bin... i am good now... except for one thing..... it seems BASIC has a bug.... you cannot set TI$
if you type for example:
TI$=""
you get "?RESERVED NAME ERROR"
but yet you can print TI$...
That's because TI$ is taken directly from the RTC, and TI is the uptime of the computer.
-
I didn't know about the whole patching 911001.bin... i am good now... except for one thing..... it seems BASIC has a bug.... you cannot set TI$
if you type for example:
TI$=""
you get "?RESERVED NAME ERROR"
but yet you can print TI$...
That's because TI$ is taken directly from the RTC, and TI is the uptime of the computer.
The reason I mentioned that specifically is there are quite a few basic examples on the filehost with that same error. Mostly the slideshow D81 images. So how does one do the equivalent of TI$="" on the Mega65?
-
So how does one do the equivalent of TI$="" on the Mega65?
In contrast to BASIC 10 (and the other Commodore BASICs), TI$ can no longer be set in BASIC 65. TI$ always contains the current time from the RTC (real time clock).
To measure the elapsed time from a certain point in time, one can use the system variable TI instead.
With CLR TI the system variable TI is set to zero. This counts up in a resolution of 1 microsecond.
-
So how does one do the equivalent of TI$="" on the Mega65?
In contrast to BASIC 10 (and the other Commodore BASICs), TI$ can no longer be set in BASIC 65. TI$ always contains the current time from the RTC (real time clock).
To measure the elapsed time from a certain point in time, one can use the system variable TI instead.
With CLR TI the system variable TI is set to zero. This counts up in a resolution of 1 microsecond.
I see, thank you. I'll correct them on the images. Thanks.
-
The reason I mentioned that specifically is there are quite a few basic examples on the filehost with that same error. Mostly the slideshow D81 images. So how does one do the equivalent of TI$="" on the Mega65?
You should be aware that those examples were made for the unreleased C65 which was not full ready developed.
The 'old' C65 did not have a RTC like the MEGA65 does. So to work, those programs need to be adapted for the M65, which in my opinion is far less disturbing as to have a computer without RTC.
-
which in my opinion is far less disturbing as to have a computer without RTC.
Why would you need that? The C64 and the C128 also had none, and also my A1000 had none. AFAIK none of the 8-bit computers had that.
-
Why would you need that?
To now what time it is?
-
Why would you need that?
To now what time it is?
Don't you have a watch ?
-
Don't you have a watch ?
Since the invation of the mobilephones, I do not own any watches anymore.
So all my gimmicks needs now own RTCs
-
Since the invation of the mobilephones, I do not own any watches anymore.
So all my gimmicks needs now own RTCs
When you sit in front of the MEGA65 you don't need a watch. You will know it's 1991.
-
When you sit in front of the MEGA65 you don't need a watch. You will know it's 1991.
If only my body could do the same