diff --git a/TODO.txt b/TODO.txt index c836c76f..5cc0605f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,5 +1,9 @@ HARDWARE: +* Split device dependent VHDL code (e.g. TIL) from IDE/Toolchain dependent + files, so that we are prepared for porting QNICE to other FPGA architectures + and for being able to have a Xilinx ISE and a Xilinx Vivado version. + * SD Cards: Writing. * SD Cards: Replace SPI access by native access and by doing so, achieve @@ -144,3 +148,11 @@ VBCC TOOLCHAIN: MONITOR-LIB: * Add all meaningful monitor functions. + +DEMOS: + +* Basic Interpreter + +* Forth Interpreter + +* VGA Textmode games: Snake, Pac Man, 2048 diff --git a/dist_kit/qnice-v14.bit b/dist_kit/qnice-v14.bit index 5286bee2..af526de4 100644 Binary files a/dist_kit/qnice-v14.bit and b/dist_kit/qnice-v14.bit differ diff --git a/monitor/qmon.asm b/monitor/qmon.asm index 69434654..29f45b03 100644 --- a/monitor/qmon.asm +++ b/monitor/qmon.asm @@ -428,6 +428,8 @@ QMON$CD SUB 256, SP ; memory: 255 characters + zero MOVE 256, R9 ; R9 = buffer size RSUB IO$GETS_S, 1 ; enter string RSUB IO$PUT_CRLF, 1 ; CR/LF + CMP @R8, 0 ; completely empty string? + RBRA QMON$CD_E, Z ; yes: exit MOVE R8, R11 ; R11 = saved pointer to input string RSUB QMON$CHKORMNT, 1 ; get device handle in R8 CMP R8, 0 ; worked? @@ -463,6 +465,8 @@ QMON$LOAD MOVE 0xFFFF, R6 ; R6 = start address of loaded b MOVE 256, R9 ; R9 = buffer size RSUB IO$GETS_S, 1 ; enter string RSUB IO$PUT_CRLF, 1 ; CR/LF + CMP @R8, 0 ; completely empty string? + RBRA QMON$LOAD_E, Z ; yes: exit MOVE R8, R10 ; R10 = file name MOVE R8, R12 ; R12 = saved pointer to file name RSUB QMON$CHKORMNT, 1 ; get device handle in R8 diff --git a/pore/boot_message.asm b/pore/boot_message.asm index 031055d0..6b73b2b4 100644 --- a/pore/boot_message.asm +++ b/pore/boot_message.asm @@ -4,4 +4,4 @@ PORE$NEWLINE .ASCII_W "\n\n" ; PORE$RESETMSG .ASCII_W "QNICE-FPGA V1.38f [BETA/WIP] by sy2002 in December 2016 (GIT #" -PORE$RESETMSG .ASCII_W "QNICE-FPGA Version 1.4 by sy2002 in December 2016 (GIT COMMIT #429b0b3)\n" +PORE$RESETMSG .ASCII_W "QNICE-FPGA Version 1.4 by sy2002 in December 2016 (GIT COMMIT #85c85a3)\n" diff --git a/vhdl/env1_globals.vhd b/vhdl/env1_globals.vhd index 5f7a488a..d94b53fb 100644 --- a/vhdl/env1_globals.vhd +++ b/vhdl/env1_globals.vhd @@ -11,7 +11,7 @@ package env1_globals is -- file name and file size (in lines) of the file that is converted to the ROM located at 0x0000 constant ROM_FILE : string := "../monitor/monitor.rom"; -constant ROM_SIZE : natural := 6452; +constant ROM_SIZE : natural := 6460; --constant ROM_FILE : string := "../demos/q-tris.rom"; --constant ROM_SIZE : natural := 4544;