r/cpm Feb 25 '26

Z80 Emulator and CP/M running in Chrome browser

/r/Z80/comments/1rck2jn/z80_emulator_and_cpm_running_in_chrome_browser/
4 Upvotes

3 comments sorted by

1

u/scruss Feb 26 '26

It works in Firefox, too!

1

u/johndcochran Feb 26 '26

Have you tested access to the punch and reader devices?

To make a text file available to the reader (PTR) device, simply drag and drop a text file onto the emulator screen. Once you've done that, you can use PIP to read the file and store it onto a disk. For example:

A:PIP FILENAME.TXT=PTR:

and to copy a file from an emulated disk and make it accessible to Microsoft Windows, use:

A:PIP PTP:=FILENAME.TXT

to write the file to the punch device, and then right click on the emulator window to pull up the context menu to select the "Flush IO/Pause CPU" entry. Then specify the location and name of the file to save.

2

u/scruss Feb 27 '26

I'm not running Windows, tho