Memotech Z80 Assembler question

Discussion about ZX80 / ZX81 Software
Moggy
Posts: 1866
Joined: Wed Jun 18, 2008 2:00 pm

Re: Memotech Z80 Assembler question

Post by Moggy » Fri Apr 19, 2019 8:40 pm

Superb work, Martin. :ugeek:

If you use the standard zeddy keyboard the shift/Z to tabulate might not seem important. But when you use an external keyboard the TAB function sometimes goes over to the right by one space too many and it is frustrating having to backspace all the time and start again, a lot of self made keyboard routines suffer this way.

This new single keypress TAB function spaces it wonderfully and with out having to look at the screen all the time. :D

I have noticed that if you re-load source code and want to use auto-newline then shift "T" has to be de-activated.

Once again great work.

Moggy.

User avatar
mrtinb
Posts: 1067
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Memotech Z80 Assembler question

Post by mrtinb » Fri Apr 19, 2019 8:45 pm

Yes, there are some small bugs with Shift-T, but I’l leave it there for now.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

Moggy
Posts: 1866
Joined: Wed Jun 18, 2008 2:00 pm

Re: Memotech Z80 Assembler question

Post by Moggy » Fri Apr 19, 2019 9:15 pm

We both know what to do so all is good. :D

User avatar
mrtinb
Posts: 1067
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Memotech Z80 Assembler question

Post by mrtinb » Sun Jun 16, 2019 10:48 pm

I've actually tried for weeks to enter FAST mode while auto-inserting lines, because it's still very slow in SLOW mode. However this is much more complicated that I anticipated.

Now the keyboard is not read anymore (because keyboard reading is part of SLOW routine). I have tried to add keyboard read to my routine, but until now, it's just freezing and stuck in FAST mode all the time.

So no progress here. But just to tell you I tried to improve the software even further.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

Moggy
Posts: 1866
Joined: Wed Jun 18, 2008 2:00 pm

Re: Memotech Z80 Assembler question

Post by Moggy » Mon Jun 17, 2019 3:12 pm

Great work Martin for which I am thankful.

I seem to recall that the original Memotech unit would only work in slow mode when USR 16258 is called.
I will check this and report the result.

Moggy
Posts: 1866
Joined: Wed Jun 18, 2008 2:00 pm

Re: Memotech Z80 Assembler question

Post by Moggy » Mon Jun 17, 2019 10:06 pm

I just tried using real Memotech unit in fast mode and it promptly crashed, with no problem in slow mode.

User avatar
mrtinb
Posts: 1067
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Memotech Z80 Assembler question

Post by mrtinb » Mon Jun 17, 2019 10:17 pm

My understanding of the ZX81 is: Keyboard is never read in FAST mode.

This is no problem in BASIC, because when program gets to INPUT or INKEY$ it switches over, at reads the keyboard.

In machine language in FAST mode, the keyboard is never read, unless you create your own routine for it.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

Post Reply