Skip to content

POM2 v1.3.0

Choose a tag to compare

@habib256 habib256 released this 01 Dec 01:52

Warning

First launch on macOS or Windows: you have to allow POM2 once. The packages
are not notarized by Apple or signed for Windows, so both systems block a
downloaded copy.

🍏 macOS: "Apple could not verify POM2". Drag POM2 from the .dmg into
Applications and try to open it. Click Done, then open the Apple menu →
System Settings → Privacy & Security, scroll down to Security, click
Open Anyway and confirm.

A package older than v1.1.2 says "POM2 is damaged" instead and has no
Open Anyway. Do not move it to the Trash. Run this in Terminal:

xattr -dr com.apple.quarantine /Applications/POM2.app

🪟 Windows: "Windows protected your PC". Click More info, then
Run anyway.

Sessions that hold any machine, and a command line built for
cross-development; a Page Inspector of its own, layouts you can keep, a lighter
debugger; three more sound cards and the Mockingboard 4c as it really is.

Sessions (.pom2session)

  • Any card can be saved. A session used to be refused as soon as one
    card was not supported — the default //e among them (mouse, Grappler+,
    SmartPort 3.5"). Every card of the catalogue now travels: the mice, the
    printer cards, VidHD, Saturn, the Videx cards, E-Z Color, the Z80 cards
    with their processor mid-instruction-stream, the Workstation Card, the
    Liron, DAN ][, the network cards and a Super Serial Card in the middle of
    a connection. A test walks the whole catalogue on every machine and fails
    the day a card is added without it.
  • The cable is unplugged at a load. A network or serial link is not in
    the file: the program sees a closed connection or a lost carrier, exactly
    as if the cable had been pulled, then the link comes back by its normal
    means. Nothing already printed is printed again; the host MIDI port gets
    all-notes-off.
  • Nine times smaller. A session of the default //e with a disk went from
    684 KB to 78 KB (compressed, and the floppy stored once); 11 MB to 92 KB
    with an 8 MB RamWorks. Sessions saved by earlier versions still load.
  • The debugger travels with it: breakpoints with their bank, condition
    and gate, the Watch list, the cycle mark, and which label file and source
    map to read again. A load replaces your breakpoints only if you have none,
    or if you ask.
  • Quick save / quick load: Ctrl+Alt+Shift+1…9 saves a slot,
    Ctrl+Alt+1…9 loads it, Ctrl+Alt+0 undoes the last load. Also in the File
    menu, the command palette and a Save state here button in the debugger.
    The slots sit next to the session you opened, so each project has its own.
  • A session saved stopped comes back stopped at its PC (a breakpoint, a
    step, the Debugger's Stop), not one instruction run; one saved running
    comes back running. --stop ends any command line stopped with the
    Debugger open (--run 6000 --stop: the PC set, waiting before the first
    instruction); "stopped" does the same over HTTP.

Cross-development from the command line

  • Restore, swap the disk, load a binary, run — in one line, nothing
    executing in between
    :
    POM2 --session-load part4.pom2session --session-reopen-disks --load PART5#066000 --run 6000.
    The machine used to run for a moment between the restore and the load.
  • --session-reopen-disks reads again the image files the session was
    saved from, as a disk swap: the drive keeps its head and motor, only the
    disk changes. --mount sNdM:file (and --35-diskN on a //c Plus) placed
    after --session-load swap one drive. A session can be saved without the
    paths (--session-save-no-paths).
  • --load FILE#06AAAA takes the address from the name; --symbols
    and --source-map load labels and an ACME report; --break ADDR
    sets a breakpoint and opens the debugger.
  • POST /program/load does the same on a POM2 that is already running.
  • Windows paths: drive letters, UNC paths, accents and any script work
    in POM2, the disk tools and the libretro core, whatever the system's
    language.

Debugging

  • Page Inspector shows the two video pages side by side or stacked, with
    a selector above each image. A linked cursor compares the address, bank and
    byte at the same screen position on both pages.
  • Disk Inspector displays disk surfaces as concentric tracks, with a live
    head marker and a density scale. Compare two drives side by side or stacked
    in a narrow window.
  • Bank Viewers open in Regions mode and show the address space as a grid,
    horizontal bar or vertical bar. Memory Heatmap opens directly from Tools.
  • Paint Editor can convert an image for composite output, Le Chat Mauve
    PAL/RGB, or both. The shared target lets you preview the same Apple II
    bytes through both decoders before applying the image.
  • Memory Viewers, several at once (Grouik's request): Tools ▸ Memory ▸ New
    Memory Viewer
    opens another, up to eight, each with its own address, bank,
    view and width, docked or tabbed where you put it and back there at the
    next launch. The hex view has a fixed font, the bank of every row
    (main:, aux0:, lc1:, rom0:…), the Apple II text the bytes are, the
    CPU's view or any physical bank; the wheel moves it by lines, a drag
    selects a range, a double-click follows a pointer with back and forward, a
    byte is typed over in place. The Code view is the Debugger's own listing
    with the same font, banks, names, gutter and menus. It can stay on a
    routine while the Debugger follows the PC. Double-click an instruction
    to follow its operand, or Shift+double-click to open the target in a
    second Code window. In Hex, capture the current bank or selection with
    Compare and jump between the bytes that change while you run or step.
  • Layouts you keep: View ▸ Layout ▸ Previous layout goes back to what
    you had before choosing a preset, and Save current layout as… adds your
    own to the list. The French Touch Dev preset of 1.2.7 is gone (its
    namesake: "everyone will make their own"); Basic Dev opens its tools as
    tabs behind the Apple II screen.
  • A lighter debugger: two state rows instead of five (the registers,
    the beam and the cycle mark; then the video switches), the breakpoint list
    as a tab, no separator lines. More code on screen.

Sound

  • The speed menu speeds up the whole machine, sound included. Seen from
    inside, nothing distinguishes a 2× machine from a normal one: at 2× every
    sound — speaker, Mockingboard, speech cards, DACs, the drive — plays twice
    as fast and an octave higher, like a tape; slow motion lowers it. The
    printer prints faster at 2× and stops when the machine is paused, and a
    program waiting on it sees the same handshake at any speed; the
    cassette's audio files play faster too. A held key repeats at the
    //e's and //c's own rate whatever the speed (a ][ / ][+ keyboard never
    repeats), and VSDrive answers at the serial line's rate in the machine's
    time. This replaces v1.2.1's "Music keeps its pitch". An accelerator (Zip
    Chip, FASTChip, TransWarp, the //c Plus's 4 MHz) still speeds up the
    processor only — a cassette now keeps its speed under one — and the two
    multiply.
  • Mockingboard 4c on the //c and //c Plus as the real card is: one 6522
    behind both addresses, so a player that drives both AY chips at once with
    different data gets one of them, as on the hardware.
  • Mockingboard inspector lets you choose the slot and inspect six AY
    voices, both register banks, and the bus counters that show whether
    VIA writes reach the AYs. The VIA tab shows timers, interrupt flags
    and register addresses, with one shared VIA on the 4c. On Sound II,
    the Speech tab shows the SSI263 request and the VIA2 CA1 interrupt flags.
  • AY trace captures up to three seconds of Mockingboard register writes.
    Compare AY-3-8910 and AY-3-8913 envelope timing and listen to each replay.
  • MEGA Audio (megaaudio): a2heaven's card with its measured 6522 — the
    timer interrupt one cycle late. With it, the two cards it also emulates:
    the A.L.F. music card (alf, three SN76489, from its 1983 manual and
    schematic) and its four-DAC S.A.M. (megaaudio_sam).
  • AY Keyboard: four clocks — Mockingboard (the default), Atari ST,
    Spectrum, and the tune as written — with the tune's own clock read from
    the file; LHA-packed YM files open directly.

Fixes

  • A Grappler+ unplugged and plugged back with an interrupt pending lost it.
  • The Uthernet I never reported its link as up.
  • The ALS CP/M Card's 60 Hz tick moved at every rewind.
  • A CFFA3000 restored from a session came back as a plain SmartPort card.
  • A disk swapped in the middle of a block transfer could splice two disks
    into one block on the HDV and SmartPort cards.
  • A mouse recording replays the movement it recorded, wherever the host
    pointer is.
  • French Touch's original logo opens the credits.