Repository navigation
Releases
v1.4.1 - bigger inline assembler blocks
- Inline assembler / OPTION ASM: the output buffer of QASM.OVL is 8960 characters (was 7936): a block can hold about 1980 bytes of machine code, data included (was about 1600). Needed by the assembly version of THE INCA WALL (https://github.com/fpracek/MSX-INCA).
- Manual: rules for $+n jumps, the 64 symbols and the block size.
v1.4.0 - 64 SUB/FUNCTIONs in cartridges
- Cartridges: up to 64 SUB/FUNCTIONs (was 20) and 64 routines outside the fixed segment (was 32); 32 names per SUB again.
- The tables of the SUBs live in the tail of the source area, so the source of a cartridge is limited to 13.1 KB per file. FARTAB is 256 bytes at 7E00h of the fixed segment: use RTROM.BIN and QBCR.COM of this version together; ROMs already compiled are not affected.
- DOS and BIN programs keep the limit of 20.
- Manual and README updated; test mtest case F (60 SUBs in 3 segments).
v1.3.2 - Inline assembler in every file of a multi-file cartridge
- Fix: an __ASM block now works in every file of a multi-file cartridge (before it failed with a syntax error in file 000 once other segment files existed).
- Documentation: the assembler topic notes that an interrupt routine goes in file 000, the fixed segment.
- Test: mtest case E.
v1.3.1 - Faster multiplication by powers of two
- Compiler: a multiplication by a constant power of two (x * 8) compiles to shifts instead of a ~350 us routine.
- Manual: notes on the cost of * and \ and on the 24 names per SUB in cartridges.
- Includes the new compiler files and an updated help.
v1.3.0 - Variables in the cartridge debugger
- OPTION DEBUG GLOBALS | ALL for banked cartridges (ASCII8, ASCII16, KONAMI, SCC): the on-MSX debugger now shows global variables, and with ALL also locals and parameters, across segments. Plain OPTION DEBUG keeps lines only.
- Cartridge compiler: internal tables moved to high RAM; at most 24 local variables per routine in cartridges; OPTION MAP flag is now initialised at start.
- Updated manual and help.
v1.2.0 - Debug ROM cartridges in VS Code
- VS Code debugger now supports ROM cartridges, including multi-segment ones (NAME000.SPB, NAME001.SPB...): breakpoints and stepping across segments, call stack, locals and globals.
- New OPTION MAP (cartridges): the compiler writes NAME.MAP; the ROM is byte-identical to a build without it. The extension adds it automatically to a temporary copy when debugging.
- Updated QBCR.COM, help and manual.
v1.1.0 - VS Code extension with debugger
VS Code extension (install via Extensions > Install from VSIX): real compiler in a Z80 emulator, live diagnostics, help, segments, run in openMSX, and a source-level debugger on openMSX (breakpoints, stepping, call stack, locals/globals/arrays, expression evaluation). Also: COLOR with border argument, updated manual.
SamPr Basic 1.0
SamPr Basic 1.0
A complete BASIC development environment that runs on the MSX itself: full-screen editor, a compiler that produces real Z80 code, inline assembler and debugger.
Highlights
- Editor with colored keywords, menus, mouse, find/replace, undo/redo, file window with folders (MSX-DOS 2) and online help (F6 / F7).
- Compiler: 16-bit integers and strings,
SUB/FUNCTION,SELECT CASE, labels or line numbers, full MSX2 graphics, sprites, 3-voicePLAY, disk files, RAM mapper. - One option,
OPTION TARGET:DOS(.COM),BIN(BLOAD file for MSX-BASIC), or ROM cartridges (ROM_16,ROM_32,ROM_ASCII8,ROM_ASCII16,ROM_KONAMI,ROM_KONAMISCC). - Multi-file cartridges:
NAME000.SPB,NAME001.SPB, ... linked into one ROM, with precompiledNAMEnnn.BINsegments for assembler code and data. - Debugger with breakpoints, global and local variables, and an
Ecommand to inspect any variable. - PDF user manual and language reference (47 pages).
Install: unzip, copy the files to an MSX-DOS disk (with MSXDOS.SYS and COMMAND.COM), run SAMPRBAS HELLO, press F5. See INSTALL.txt and the manual.
Works on MSX1 (40 columns) and MSX2 (80 columns), MSX-DOS 1 and 2. Tested on openMSX (NMS-8250, Sony HB-75P, Panasonic FS-A1ST); not tested on real hardware.