Linux

From C64-Wiki
Jump to navigationJump to search
Stub This article is very short and not very detailed. Please help to improve it.
The penguin Tux with Commodore logo.

Linux is an open-source, UNIX-like, operating system. It was created by Linus Torvalds and first released in 1991.

It has a broad range of use-cases starting from embedded systems in control and communication or as simple desktop systems, in compact mobile telecommunication over to typical web and application server or even in larger installations like high performance cluster with thousands of nodes.

Linux has been ported to a great variety of hardware platforms since its initial availability for the x86 architecture.

Linux and the C64/128[edit | edit source]

Emulators[edit | edit source]

General[edit | edit source]

  • VICE emulates C64, C128, PET, VC20 and Plus/4
  • plus4emu[1] emulates the Plus/4
  • yapeSDL: Open source version of yape[2] (Freeware-Plus/4-Emulator for Windows), has not been updated for years
    • the continuously refined Windows version is supposed to work sufficiently on x86/x86_64 Linux systems under Wine

Runtime Environments[edit | edit source]

Emulator Frontends[edit | edit source]

  • jGameBase[4] is a frontend for Gamebase64. The range of the functionality is the as the windows version.

SID Player[edit | edit source]

  • libsidplay[5]: Programm library to emulate the SID, and based on that:
    • sidplay / sidplay2: Commandline player for SID Files
    • xsidplay / xsidplay2[6]: Graphical-Play for SID-Files
    • audacious[7]: A Mediaplayer camparable to WinAmp, that can play SID files through a standard plugin
    • a sidplay-Plugin for the Multimedia-Framework gstreamer[8] exists, so that SID-files can be used by gstreamer-applications like Totem or Rhythmbox
  • libsidplayfp[9]: Overworked program library to emulate the SID, can also work with ReSID/SIDv3-Standard (concerning Stereo-SID- and Digi-Emulation), based on that:
    • sidplayfp: Command line player for SID-Files
    • no plugin for gstreamer available yet!
  • jsidplay2[10]: SID-Player based on Java, can play all SID files

Editing Disk-Images[edit | edit source]

  • DiskImagery64[11] can edit D64-Images, insert single files into the disc images and extract those again etc.
  • the Midnight Commander (mc) can edit D64/D71/D81-Images from Version 4.7 on, you need the service program c1541 for that, which is part of VICE
  • the Star Commander can be run under Linux via Dosemu (compiling of the available Borland-Pascal-Sourcecodes with Free Pascal or GNU Pascal must be tested)
  • cbmfs[12]
    • FUSE-Driver, that lets you mount D64/D71/D81/D80/D82-Images as Part of the host filesystem
  • cbmconvert[13]

Data Transfer[edit | edit source]

  • for a serial connection via null modem cable Telnet, Kermit and X/Y/ZModem (lrzsz) are available
  • 1581- (and theoretically as well FD-2000-)Floppy Discs can be mounted with the mount command[14] or can be read with a PC disc drive and converted into a disc image with the command dd[15].
  • the CMD-HD can be plugged into the external Port of a [[[SCSI]]-Card via the external SCSI-interface. Backup of the complete hard disc can be done with dd if=/dev/sdX of=image.dhd (X has to be set accordingly)
  • openCBM:
    • serves as a trigger for the 1541/70/71/81-drives, that are connected to the parallel port of the PC with a XM1541/XA1541/XP1541/XP1571-cabel
    • Softwarepacket containing Linux-Kernel-Modules resp. windows driver for hardware recognition and diverse commandline oriented server programs in the userspace that handle the read/write access to the disc in the drive
    • these service programs can be used with a GUI via the VICE Emulator
  • cbmlink[16]
    • With RS-232 or the c2n232-Interface you can remote control Commodore-computers and attached floppy disc drives, meaning you can load, safe and start programs, read and write D64 files from/in discs.
  • c2n[17]
    • c2n emulates a Datassette with help of the c2n232-Interface, that allows for the file exchange with the Commodore-computer with the normal datasette commands LOAD and SAVE.

Data Converting[edit | edit source]

BASIC[edit | edit source]

  • VICE contains petcat that converts the BASIC-Token into BASIC-files in readable default text and the other way around text into basic programs. It supports Commodore BASIC 1.0 to 7.0 and Simons' BASIC and a lot of other formats. Non printable and graphic signs are saved in portable form when converting.
  • detox64[18]: Conversion of the BASIC-Token in Standard-Text (only BASIC 2.0)

Graphics[edit | edit source]

Cross Development[edit | edit source]

Assembler[edit | edit source]

C[edit | edit source]

  • cc65: C-Cross-Compiler

Others[edit | edit source]

For the development of the LUnix-Operating System[25] the Cross-Development-Tools lupo (Preprocessor), luna (Assembler) and lld (Linker) are available. Also a Small-C-Cross-Compiler (scc6502)[26] was implemented.

References[edit | edit source]

Links[edit | edit source]

WP-W11.png Wikipedia: Linux
WP-W11.png Wikipedia: Linux68k Language German
WP-W11.png Wikipedia: Embeddable_Linux_Kernel_Subset
WP-W11.png Wikipedia: Usage_share_of_operating_systems