Skip to content

Uxn32 2.0

Latest
Compare
Choose a tag to compare
@randrew randrew released this 22 Jan 04:45
· 78 commits to master since this release

> Download Uxn32 2.0 + Essentials ROM pack

Uxn32 2.0 running Turye

Uxn32 2.0 is here. Exactly one year since 1.0, and right on schedule.

Buckle up for the list of changes and improvements since 1.8:

  • Added support for command line arguments.
    • The first argument will be the name of the ROM file for the emulator to open. Any further arguments will be passed to the Uxn program in the ROM file for it to process.
    • Example: Uxn32.exe my_cool_rom.rom some_arg_to_pass "And this string also gets passed to the ROM program"
    • If you reload the ROM file -- for example, by pressing F4 -- the command line arguments will be resent to the ROM program.
  • Added support for command line options.
    • Before the name of the ROM file, you can specify an option like /hidemenu (or, alternatively, -hidemenu). More on that later.
  • Made the virtual console much faster. Like 200x faster.
  • Added a momentary highlight blink effect in the status bar of Beetbug when some actions occur.
    • This makes it easier to tell when the machine state changes from Paused to Running and that sort of thing. It will also blink-highlight the fault message area if a fault occurs.
  • Disabled the ability to delete directories with the Uxn file device.
    • Uxn's file device isn't specified to be able to create directories, and there was also no mention of deleting them. Uxn32 used to let you delete directories, but since there's no way to create them, it seems like more of a liability and an unnecessary way to make a mistake. So, now you can't.
  • Disabled the file device's ability to read or write files with the extensions .dll, .exe, and .com.
    • These are executable file formats on Windows. It's not possible for running executables to edit themselves, but it's possible that if the user ran a ROM in Uxn32 with the sandbox set to a directory where other .exe files are, a malicious Uxn ROM program could have messed around with stuff.
    • Now, they can't.
    • No, you can't fool it by using upper case letters for the file extension.
  • Added setting of window title name via System port 0x4 and 0x5, following new changes to the Varvara document.
  • If a ROM program requests quit and Beetbug isn't open, the emulator window will close.
    • This makes it more seamless if you aren't debugging or developing.
    • Actually, the emulator will still stay open if the console is open. This way, if you run a program that prints some stuff to the console and then immediately quits, you can still read the stuff in the console without it closing in your face.
  • Added .rom.sym symbol loading and displaying in Beetbug.
    • If there's a file with the .rom.sym extension that has the same name as the ROM file that's loaded, Beetbug will load it and display the symbolic names of the addresses in the disassembly view.
    • The .rom.sym file will be reloaded whenever the main .rom file is reloaded: the "Open File" dialog, dragging & dropping a ROM file, and pressing F4 to reload the file.
  • Replaced the Uxn CPU emulator core with a shiny new one.
    • It's about 40% faster. And it implements the new call instructions from the newest version of the Uxn design document.
    • And it's fully backwards compatible.
  • To go with that, the mnemonics for the new Uxn CPU instructions have been added to Beetbug.
  • Added support for the system device fault handler from the new changes to the Varvara design document.
  • Added the ability to hide and show the menu bar.
    • Choose it from the menu with View -> Show Menu Bar, or toggle it with F10.
    • Or, launch Uxn32.exe with the menu bar already hidden by passing /hidemenu as an option from the command line.
  • Added filtering out of the .. entry when using the file device to list the files in a directory.
    • You couldn't do anything with it, anyway.
  • When trying to load a ROM file but it couldn't be found, Uxn32 used to show a black screen. Now, it will show a cute animation with a confused animal wondering why you are having trouble with your files.
Name: Uxn32.exe
Size: 81920 bytes (80 KiB)
SHA256: 3679ebdd5a75676fdd9600b02725de08701f29af356b971b75d132b4952c0e2c