Repository navigation
ZX-V, a 32-bit hobby computer inspired by the ZX Spectrum. (Español más abajo.)
What's new in 0.10.0
Twelve sample channels, programs sent from the PC, and the board as open hardware.
- Twelve sample channels in the ULA, next to the two AY chips and the beeper: recorded sounds, 8-bit or ADPCM, in 96 KB of sound memory. From BASIC,
SAMPLEplays them (LOAD "bang.wav" SAMPLE 0: SAMPLE 0); from C, thezxv_smp_*functions and the newsamplesexample. - Music in its own format,
.zxm, with AY tracks and sample tracks.MUSICalso loads MOD, S3M and XM as they are (it converts them when loading) and plays VGM files for the AY chips (.vgm,.vgz).zxv-musicconverts PT3, TurboSound, MOD, S3M and XM to.zxm:--free KBleaves room forSAMPLE, and--channelschooses which ones go from a module with more than 12 (otherwise, the 12 that play the most notes).zxv-trackeredits sample tracks and asks which channels to keep when it opens such a module. ZX Basic getsSAMPLE,.zxmand VGM too. - Programs from the PC to the board, over the board's UART (J5) and a 3.3 V USB-serial adapter:
zxv-link(console) andzxv-link-gui(window) send a program with its files and run it. The VS Code extension runs programs on the board and debugs BASIC there. The protocol is public, so any device can do it. - The
EXT:drive: a folder served by another computer (zxv-link serve --folder), which the machine reads and writes like the card, without copying anything to it. Inzxv, File > EXT: drive; inzxv-cliandzxv-sdl,--ext; and in the browser, a folder on your PC (Chrome and Edge). - The board: the first ones were made and work. It is open hardware (CERN-OHL-W v2), with the KiCad design in
pcb/. The firmware of both Picos now updates from the microSD card, and the date and time are set from the EDIT menu (the status line says when the clock has no time). - Ctrl+Alt+Del restarts the whole machine, on the board and in every emulator.
zxvdraws with the graphics card: View > Draw with: Direct3D 11 (Windows), OpenGL or the CPU, changed on the fly. With the graphics card it uses about three and a half times less CPU in full screen. The Windows package goes from 25.6 to 16.2 MB (without the software OpenGL it did not use).- The web version: the
EXT:drive, Paste text (Alt+V), Record the sound, and a.basopens withLOADlike on the desktop. - Petit Soccer, seven-a-side football in ZX Basic, on the ROM: drive.
- A website: cronomantic.github.io/ZX-V, with the games to play in the browser and the news. The emulator moves to /emulator.
- The machine's sound synthesis is now public, in
sdk/sound(MIT).
| File | Contents |
|---|---|
zxv-windows-x64.zip |
The emulator for Windows: the zxv app (with the ROM inside), zxv-sdl, zxv-cli, zxv-check, sdimg, zxv-gfx, zxv-tracker, zxv-music, zxv-link, zxv-link-gui, the examples and the documentation. Unzip it and open zxv.exe |
ZX-V-0.10.0-x86_64.AppImage |
The emulator for Linux in a single file: make it executable and run it |
zxv-linux-x86_64.tar.gz |
The same for Linux (x86-64) as a folder, using the system's Qt 6 and SDL 2 |
zxv-web.zip |
The web version: unzip it and open index.html (no server needed), or upload it as it is to a website or to itch.io. It is also online at cronomantic.github.io/ZX-V/emulator |
zxv-uf2.zip |
The firmware for the two Pico 2 boards (.uf2) and zxv-update.bin to update both from the card: which file goes where is in the firmware guide |
The binaries are free and can be passed on unchanged (TERMS.txt). Start with the getting started guide.
ZX-V, un ordenador de 32 bits para aficionados, inspirado en el ZX Spectrum.
Novedades de la 0.10.0
Doce canales de muestras, programas mandados desde el PC y la placa como hardware abierto.
- Doce canales de muestras en la ULA, junto a los dos chips AY y el beeper: sonidos grabados, en 8 bits o ADPCM, en 96 KB de memoria de sonido. Desde el BASIC los toca
SAMPLE(LOAD "golpe.wav" SAMPLE 0: SAMPLE 0); desde C, las funcioneszxv_smp_*y el ejemplo nuevosamples. - Música en un formato propio,
.zxm, con pistas del AY y pistas de muestras.MUSICcarga también los MOD, S3M y XM tal cual (los convierte al cargarlos) y toca los VGM de los chips AY (.vgm,.vgz).zxv-musicconvierte a.zxmlos PT3, TurboSound, MOD, S3M y XM:--free KBdeja sitio paraSAMPLE, y--channelselige cuáles van de un módulo de más de 12 (si no, los 12 que más notas tocan).zxv-trackeredita las pistas de muestras y pregunta qué canales se quedan al abrir uno así. ZX Basic tiene tambiénSAMPLE,.zxmy VGM. - Programas desde el PC a la placa, por la UART de la placa (J5) y un adaptador USB-serie de 3,3 V:
zxv-link(de consola) yzxv-link-gui(con ventana) mandan un programa con sus ficheros y lo ejecutan. La extensión de VS Code ejecuta los programas en la placa y depura allí el BASIC. El protocolo es público: lo puede hacer cualquier aparato. - La unidad
EXT:: una carpeta servida por otro equipo (zxv-link serve --folder), que la máquina lee y escribe como la tarjeta, sin copiar nada en ella. Enzxv, Archivo > Unidad EXT:; enzxv-cliyzxv-sdl,--ext; y en el navegador, una carpeta de tu PC (Chrome y Edge). - La placa: las primeras ya están hechas y funcionan. Es hardware abierto (CERN-OHL-W v2), con el diseño de KiCad en
pcb/. El firmware de las dos Pico se actualiza desde la tarjeta microSD, y la fecha y la hora se ponen desde el menú EDIT (la barra de estado avisa si el reloj no tiene hora). - Ctrl+Alt+Supr reinicia la máquina entera, en la placa y en todos los emuladores.
zxvdibuja con la tarjeta gráfica: Ver > Dibujar con: Direct3D 11 (Windows), OpenGL o la CPU, cambiándolo en el momento. Con la tarjeta gráfica gasta unas tres veces y media menos CPU en pantalla completa. El paquete de Windows pasa de 25,6 a 16,2 MB (sin el OpenGL por software, que no usaba).- La versión web: la unidad
EXT:, Pegar texto (Alt+V), Grabar el sonido, y un.basse abre conLOADcomo en el escritorio. - Petit Soccer, fútbol 7 en ZX Basic, en la unidad ROM:.
- Una web: cronomantic.github.io/ZX-V, con los juegos para jugar en el navegador y las novedades. El emulador pasa a /emulator.
- La síntesis del sonido de la máquina es ya pública, en
sdk/sound(MIT).
| Fichero | Contenido |
|---|---|
zxv-windows-x64.zip |
El emulador para Windows: la aplicación zxv (con la ROM dentro), zxv-sdl, zxv-cli, zxv-check, sdimg, zxv-gfx, zxv-tracker, zxv-music, zxv-link, zxv-link-gui, los ejemplos y la documentación. Se descomprime y se abre zxv.exe |
ZX-V-0.10.0-x86_64.AppImage |
El emulador para Linux en un solo fichero: se le da permiso de ejecución y se abre |
zxv-linux-x86_64.tar.gz |
Lo mismo para Linux (x86-64) en una carpeta, con el Qt 6 y el SDL 2 del sistema |
zxv-web.zip |
La versión web: se descomprime y se abre index.html, sin servidor, o se sube tal cual a una web o a itch.io. También está en línea, en cronomantic.github.io/ZX-V/emulator |
zxv-uf2.zip |
El firmware de las dos Pico 2 (.uf2) y zxv-update.bin para actualizar las dos desde la tarjeta: qué va en cada sitio está en la guía del firmware |
Los binarios son gratis y se pueden repartir sin cambios (TERMS.txt). Empieza por la guía de primeros pasos.