Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Now if only they'd port Perl to the Commodore 64...

by LanX (Saint)
on Dec 12, 2013 at 18:51 UTC ( [id://1066900]=note: print w/replies, xml ) Need Help??


in reply to Re: Now if only they'd port Perl to the Commodore 64...
in thread Now if only they'd port Perl to the Commodore 64...

> What sort of Perl COULD you cram Into 8k of RAM?

the "64" was for 64K but IIRC there were only ~56K available. =)

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^2: Now if only they'd port Perl to the Commodore 64...

Replies are listed 'Best First'.
Re^3: Now if only they'd port Perl to the Commodore 64...
by rje (Deacon) on Dec 13, 2013 at 01:26 UTC

    Not at all! If you were writing BASIC, you had 38911 bytes available. BUT, page 0 had a control byte that let you turn on/off the various ROM banks, making the "shadowed" RAM accessible.

    So if you bypassed all the "shadowed" ROM, including the 8K BASIC ROM, you had 64K available.

    Anyway, taking that 8K of RAM that was hidden by BASIC, and writing a poor man's Perl, what would you be able to accomplish?

    Assuming I can create and manage a primitive symbol table, then I've also got hashmaps, and in a pinch I therefore also have arrays.

    The trick is not doing it RIGHT the first time, but just DOING it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1066900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found