Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

LOAD "*",8,1

A buck to anybody who can remember what the parameters meant



From memory:

* -> last program you ran

8 -> the floppy disk. I vaguely remember using different devices with different numbers.

1 -> it's compiled - not BASIC.

After a quick Wikipedia stint I found a better definition:

In the following example, where ' * ' designates the last program loaded, or the first program on the disk, '8' is the disk drive device number, and the '1' signifies that the file is to be loaded not to the standard memory address, but to the address where its program header tells it to go—the address it was saved from. This usually signifies a machine language program, as opposed to a BASIC program.

  LOAD "*",8,1

http://en.wikipedia.org/wiki/Commodore_64_peripherals


Great wiki link! What a walk down memory lane.

The dollar is yours, email if you want it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: