Jump to content
flashjazzcat

The Last Word 3.21 Released

Recommended Posts

So there will be (at least) 2 reasons to celebrate your 40th birthday :)

Hopefully completion of the GUI as well, which makes three. :D

Share this post


Link to post
Share on other sites

v3.21b - sometimes doesnt work lowercase letters, only upper..

OK - can you describe the general scenario where this happens for you? I'll have a look into it. :)

Share this post


Link to post
Share on other sites

i overwriting text from notepad to LW, i switching windows (notepad / altirra 2.00-t52).. problem fixed when i reboot LW..

Share this post


Link to post
Share on other sites

Wow, superb! :) Std + VBXE versions merged into one, I presume? :)

 

Pretty much: VBXE driver is (optionally) loaded during startup, and you get a 26KB main text buffer. :)

Edited by flashjazzcat

Share this post


Link to post
Share on other sites

To elucidate, this also happens occasionally when using SDX 4.4x with SIO2PC, generally when the baud rate is quite high. I advised deactivation of the progress bar in the above case (assuming the rendering of the graphic - which occurs during the stage 1 VBL - was causing problems), but the issue apparently persisted with the Q-Meg OS (stock OS was fine, though).

Share this post


Link to post
Share on other sites

I've devised a method of quit / resume VBlank processing that can help fix delayed IRQs if you need a possible fix.

Share this post


Link to post
Share on other sites

I've devised a method of quit / resume VBlank processing that can help fix delayed IRQs if you need a possible fix.

Interested! :)

Share this post


Link to post
Share on other sites

Why did it take me thirteen years to figure out that rearranging Atari fonts in ASCII order (instead of - in this case - converting the whole text buffer to and from internal code format) is the oldest trick in the book? :o

Share this post


Link to post
Share on other sites

Heh... I thought I'd invented the wheel with that one till Candle told me it was a common technique. The prior technique (conversion of the whole text buffer) can be traced right back to my early investigations into text editors. TextPro and Speedscript before it both convert the whole buffer to internal codes.

 

On a technical note, the VBXE driver performs disappointingly slowly. This is no fault of the hardware - just an underestimation of the overhead of switching the VBXE MEMAC window in and out for every byte written. The idea behind this was to allow text buffer space to occupy the RAM under the MEMAC window. However, the test version is slower than the standard version in 80 columns. The old version 4 beta I wrote a couple of years ago keeps MEMAC open the whole time and blits the line buffer to the display RAM (this of course depends on the line buffer the editor screen refresh routine builds being in the MEMAC region). I'll have to go back to this way of doing things, so much of the major code reorganization I've done over the last week has been a waste of time. Not much chance of this being done before Christmas now. Still - you live and learn, as they say.

Share this post


Link to post
Share on other sites

Couldn't you just use a 4K window and map it somewhere "spare" ?

 

Or on the other hand, you can use both MEMACs, the "old" one @ $4000-7FFF and new one wherever you want it.

 

Or maybe some sort of trickery where you could use INC/DEC to switch the window in and out.

Share this post


Link to post
Share on other sites

A 4K window would probably do it, actually. This means VBXE users would get an extra 6K on their main text buffer, instead of 10. Regarding $4000-$7FFF: I think one has to be careful here, since some memory expansions override the MEMAC window, and LW leaves extended banks switched in depending on which text bank one has open.

 

Because VBXE can be mapped to $D600 or $D700, we're addressing the hardware registers using an indirect pointer, so at the very least the Y reg needs saving and restoring. The quickest way to switch banks in and out is with bit 7 of MEMAC control, so we need the accumulator as well. I recall (and should have remembered earlier) that without blitting the line buffer to the screen in the version 4 beta, performance was disappointing. I think MEMAC needs to be left open, regardless of the size or position of the window.

 

This might sound unnecessarily complex, but remember we're applying device abstraction to a piece of software which was completely tied to the stock hardware up until now. Changes to the memory map are nightmarish: the program already has dozens of overlaid segments which get jettisioned after initialization, and which are all carefully positioned not to crash into important buffers, etc. At least the stock version is a little faster now, owing to optimisations I discovered while writing the VBXE driver. :)

Share this post


Link to post
Share on other sites

Too buggy and incomplete to release even as a beta yet, but here's a taster before the (short) Christmas break:

 

http://www.youtube.com/watch?v=4QU9mGt_E98

 

Had to film this on an LCD monitor because Altirra's keyboard repeat rate seems slow even with the fast debounce and key buffer turned on (I'm wondering if Altirra has its own keybuffer: the repeat seems slow for a while, then it suddently sprays out buffered keystrokes).

 

Anyway, just progress bar and colour customisation dialogue to do, plus various bug fixes. The VBXE version is FAST, but the stock version is now somewhat quicker too. :)

 

Merry Christmas! :D

 

Oh... lovely start to Christmas. Flyback transformer's just died on the new Philips CM8833-II. Wonderful!

Edited by flashjazzcat

Share this post


Link to post
Share on other sites

DMA wasn't disabled properly in the video: just fixed that, and the editor is faster again. Hoping to get a beta out by the weekend. This thing is smokin'! :)

Edited by flashjazzcat

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...