Commit e9727c47 authored by Sergio Costas's avatar Sergio Costas

Updated to version 0.99.2

parent 98026234
2.99.2
*Fixed an stupid bug in the FAST LD_BYTES code that avoided it to work as expected
2.99.1
*Now allows to run in TURBO mode when the tape is playing, and return to NORMAL mode when the tape is paused
*More C++ refactoring
......
......@@ -581,7 +581,7 @@ void do_push(uint16_t value) {
void do_fast_load() {
if (!(procesador.Rm.br.F & F_C)) { // if Carry=0, is VERIFY, so return OK
do_push(0x053F);
do_push(0x053F); // LD_BYTES pushes this address in the stack to return through it
procesador.Rm.br.F |= F_C; // verify OK
procesador.Rm.wr.IX += procesador.Rm.wr.DE;
procesador.Rm.wr.DE = 0;
......@@ -603,7 +603,7 @@ void do_fast_load() {
procesador.Rm.wr.IX += procesador.Rm.wr.DE;
procesador.Rm.wr.DE = 0;
osd->set_message("No tape selected",2000);
do_push(0x053F);
do_push(0x053F); // LD_BYTES pushes this address in the stack to return through it
ordenador->other_ret = 1; // next instruction must be RET
return;
break;
......@@ -619,7 +619,7 @@ void do_fast_load() {
procesador.Rm.wr.IX += procesador.Rm.wr.DE;
procesador.Rm.wr.DE = 0;
osd->set_message("End of tape. Rewind it.",2000);
do_push(0x053F);
do_push(0x053F); // LD_BYTES pushes this address in the stack to return through it
ordenador->other_ret = 1; // next instruction must be RET
return;
case FASTLOAD_OK:
......@@ -641,7 +641,7 @@ void do_fast_load() {
procesador.IFF1 = 0;
procesador.IFF2 = 0;
ordenador->other_ret = 1; // next instruction must be RET
do_push(0x053F);
do_push(0x053F); // LD_BYTES pushes this address in the stack to return through it
if (size == 0) {
if (procesador.Rm.wr.DE == 0) {
procesador.Rm.br.F |= (F_C); // Load OK
......
......@@ -55,7 +55,7 @@ void help_menu() {
llscreen->clear_screen();
llscreen->print_string("FBZX (2.99.1)",-1,1,15,0);
llscreen->print_string("FBZX (2.99.2)",-1,1,15,0);
llscreen->print_string("Available keys",-1,2,14,0);
llscreen->print_string("Shift:Caps Shift Ctrl:Symbol Shift",-1,4,11,0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment