Talk:Commodore BASIC

From Wikipedia, the free encyclopedia

This article is within the scope of Computing WikiProject, an attempt to build a comprehensive and detailed guide to computers and computing. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
??? This article has not yet received a rating on the quality scale.
??? This article has not yet received an rating on the importance scale.

Contents

[edit] Information on memory copy timing incorrect?

"Test results have shown that copying 16 kilobytes of memory from ROM to RAM takes less than a second in machine code, but over 10 minutes in BASIC."

Actually takes 5 minutes, running the program below on the VIC. And that's even using number literals.

10 TI$="000000"
20 FORI=1TO16384:POKE7680,PEEK(65535):NEXT
30 PRINT TI$

--Jquarry 06:34, 3 October 2005 (UTC)

Interesting. I distinctly remember copying the BASIC interpreter from ROM to RAM, in two 8-kilobyte blocks of POKE I,PEEK(I) takes ten minutes. Unfortunately I don't have a real C64 any more to test it on. JIP | Talk 06:37, 3 October 2005 (UTC)
I ran the following program on a Commodore 64:
10 TI$="000000"
20 FORI=40960TO49151:POKEI,PEEK(I):NEXT
30 FORI=57344TO65535:POKEI,PEEK(I):NEXT
40 PRINTINT(TI/6)/10

According to the last line, it takes a total of 69.3 seconds to run - a long time, yes, but the "10 minute" estimate is off by an order of magnitude. Unfortunately, I can't include this original research in the article - but the information there now is clearly wrong. Crotalus horridus (TALKCONTRIBS) 04:22, 17 March 2006 (UTC)
Hmm. How can plain program runs like the above, performed in order to establish a simple(?) fact, be construed as "original research"? I'd say there should be no problem fixing the article---as long as we could agree on the correct time. --Wernher 15:35, 17 March 2006 (UTC)
Actually, if you read WP:OR it says under "Expert editors":
"No original research" does not prohibit experts on a specific topic from adding their knowledge to Wikipedia. On the contrary, Wikipedia welcomes the contributions of experts, as long as their knowledge is verifiable.
Since the information is verifiable I will add it. - DNewhall 17:32, 26 June 2006 (UTC)

[edit] Easter Egg

Seeing as this is an encyclopedia, 'type X and see what happens...' just doesn't seem to fit properly in. Does anyone know what happens, as my C=64 died years ago? Empaler 14:04, 12 November 2006 (UTC)

[edit] Microsoft Amiga Basic, C128 V7.0 Basic Deal?

I owned both an Amiga 1000 and Commodore 128 back in the mid-80s. I half-remember reading that in order to get Microsoft to agree to do a Basic for the Amiga, Commodore would have to relent and place a Microsoft copyright on its 6502 Basic for the Commodore 128. Ah, just found a reference: Biggest Deal in Computer History. Is this information worth adding to the Wiki article? 2*6 20:53, 19 December 2006 (UTC)

[edit] PEEK command on BASIC 1.0 explicitly disabled

Not being able to read the BASIC ROM in V 1.0 basic is explicitly disabled by Commodore basic, which I believe was an early form of DRM.

PEEK and POKE to locations around $EXXX were allowed for access to I/O registers, e.g.

poke 59468,14

to set lowercase characters

I can't find a reference to this yet, but I remember this from looking at the BASIC disassembly a long time ago cojoco (talk) 05:04, 28 April 2008 (UTC)