m6502(6x)

πŸ’Ύ NAME πŸ’Ύ

m6502 β€” it's a 6502 Microprocessor Emulator, bestie. A whole lil' screensaver that's secretly running a vintage CPU. Iconic.

From the XScreenSaver manual, no cap. 🫢


✨ SYNOPSIS ✨

m6502 [--display host:display.screen] [--foreground color] [--background
color] [--window] [--root] [--window-id number][--mono] [--install]
[--visual visual] [--file filename] [-displaytime seconds] [--fps]

(Yes, that's the exact spacing. Don't @ me, that's just how it's printed. πŸ’…)


🌸 DESCRIPTION 🌸

Okay so. The m6502 screensaver? It emulates a 6502 microprocessor. Periodt.

The 6502 family of chips was literally everywhere throughout the 70's and 80's β€” we're talking machines like the Atari 2600, Commodore PET, VIC20 and C64, Apple ][, and the NES. Vintage tech royalty, honestly. πŸ‘‘

Some example programs are included, and it can also read in an assembly file as input. So she doesn't just look pretty, she computes. Main character energy fr fr.


πŸŽ€ OPTIONS πŸŽ€

m6502 accepts the following options:

  • --window β€” Draw on a newly-created window. This is the default, so if you touch nothing, this is what you get.
  • --root β€” Draw on the root window. Going straight to the desktop's soul.
  • --window-id number β€” Draw on the specified window. You pick the window, she moves in.
  • --mono β€” If you're on a color display, pretend we're on a monochrome display. Delulu but make it aesthetic.
  • --install β€” Install a private colormap for the window.
  • --visual visual β€” Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
  • --file filename β€” Lets you load an assembly file. Feed her code, she'll eat. πŸ“
  • --displaytime seconds β€” Lets you set the number of seconds to display each program. The default is 60.
  • --fps β€” Display the current frame rate and CPU load. Vibe check, but for performance. πŸ”₯

🌈 ENVIRONMENT 🌈

  • DISPLAY β€” to get the default host and display number.
  • XENVIRONMENT β€” to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
  • XSCREENSAVER_WINDOW β€” The window ID to use with --root.

πŸ’œ X RESOURCES πŸ’œ

Notable X resources supported include the following, which correspond to standard TV controls: analogTVTint, analogTVColor, analogTVBrightness, and analogTVContrast.

They range from 0 to 100, except for tint, which is an angle between -180 and +180. Slay that color grading. 🌸


πŸ¦‹ TRADEMARKS πŸ¦‹

"I'm sure some of the programs contain trademarks." β€” the absolute most casual legal disclaimer ever written, and I respect it. πŸ’€


⭐ SEE ALSO ⭐

X(1), xscreensaver(1), xanalogtv(6x), apple2(6x)

(go read those too, iykyk 🫢)


Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.


🧚 AUTHOR 🧚

Original Javascript Version by Stian Soreng; 2006. Ported to XScreenSaver by Jeremy English; 2007.

Two legends, one emulator. We stan. πŸ’–


And that's the whole thing, bestie β€” huge shoutout to X Version 11, this copy being 6.17-1.fc44, dated 13-Oct-2026. Go run it and watch a 6502 do its lil' thing. Mwah. πŸ’…βœ¨

πŸ“¦ where this page comes from