Giter VIP home page Giter VIP logo

Comments (6)

taviso avatar taviso commented on May 26, 2024

I see, you're right - the STEP function works but doesn't display the step at the bottom like it does in DOS. Let me investigate and see if I can figure out why!

from 123elf.

taviso avatar taviso commented on May 26, 2024

Okay, let's try to fix this issue! It looks like the STEP function is handled by mr_step_wait(). I don't see any logic anywhere for displaying the current status, I think it was never implemented on UNIX.

Let's try to add some, I think we can just call set_error_string() with the current macro step and see if that works.

Something like this...

int mr_step_wait()
{
    uint32_t key  = input_key();
    uint16_t wkey = key;
    char cellname[256];

    char *p;

    if (key & 0xFFFF0000)
        return true;

    if (wkey == 0)
        return false;

    p = cellname;

    if (INVALID_CELL_ADDR(mac_cell)) {
        if (mac_xrtns.get_mac_name) {
            mac_xrtns.get_mac_name(&p);
        } else if (!INVALID_CELL_ADDR(mac_lastgoodcell)) {
            dspcref(0xff, mac_lastgoodcell, 0, &p, 1);
        }
    } else {
        dspcref(0xff, mac_cell, 0, &p, 1);
    }

    // Terminate the string.
    *p = 0;

    if (strlen(cellname)) {
        set_error_string(cellname, 0, 0);
    }

    if (wkey != KFUN_BREAK)
        return true;

    if (!mac_nobreak())
        return true;

    return false;
}

I'll try this out for a while and see if anything breaks, if it looks okay I'll commit it.

from 123elf.

rruhle avatar rruhle commented on May 26, 2024

Excellent - look forward to beta testing..

from 123elf.

rruhle avatar rruhle commented on May 26, 2024

If waiting on me to beta test, I would need a procedure to compile, or *.deb file similar to "lotus123r3_1.0-3jammy_i386.deb"

My Linux terminal Kung Fu began this year on System76 hardware with Pop!_OS, but tech support won't help compile anything from source, preferring to direct me to apps within their POP shop instead.

from 123elf.

taviso avatar taviso commented on May 26, 2024

Oh okay - no problem, see if this one works!

https://lock.cmpxchg8b.com/files/lotus123r3_1.0-4betajammy_i386.deb

from 123elf.

rruhle avatar rruhle commented on May 26, 2024

Congratulations are in order, since Macro STEP function now displays limited Macro progress at bottom left.

  1. Except for blank {Subroutines}, STEP displays top-level command, with first 18 of 625 characters of macro, until the next macro line becomes active. So, top-level functions are followed, but not displayed beyond first 18 characters of each line.
  2. STEP can appear stuck waiting or blank during multi-levels of subroutine {Branch ..} and perhaps {goto}

-- Some trouble with installing the Beta --
Apparently, Linux "APT" re/install refuses *.deb file names that don't match expected release candidates?
'APT' $ 'Note, selecting 'lotus123r3:i386' instead of 'lotus123r3_1.0-4betajammy_i386'
After hiding prior release files & disconnecting internet *.deb Beta file loaded with complaints

from 123elf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.