Wow, how does that work??
Well... that is a fair question. It looks simple, but in reality it needs quite some tricks:
Practically the routine locates the 2x2 text area on the screen where the cursor is. Then it copies the outlook of these fonts and places those to 32-byte buffer. After that it considers these 4 copied characters as 12x16 graphics mode and uses AND mask to make a shadow and OR mask to make a shape on top of them with correct offset. Then these 32-bytes are copied over the first 4 unused characters (those funny faces + card suits in European character set). Then these copied characters are used to replace the characters that were originally identified. When cursor moves, real characters are written again over copied ones in VRAM and all of this repeats again.
Pretty inventive!
Personally I think that SKiLLa's plan is very good. We don't need full color support. We need fast text editor that responds now and not after some screen draw delay.
BTW SKiLLa: If you want ready made, documented, well designed 480x192 accurate mouse routine in assembly, that that is especially designed for (SCREEN 0) 80x24 character text mode, just send me mail... I love your idea.
And I fully agree with his plan and your statement, just in case he later wants to offer a slower but perhaps richer in features version alternative...
I agree so much that for MSXIRC, when I was asked to improve it so it could run on all UNAPI devices and perhaps improve some stuff, I was asked to add color support and decided not to, it is so fast as is, which is way more important for an IRC client
Just leaving the door open in case an alternative version enters his plans, but fully agree that text mode is the way to go for the main (and perhaps only) version
Wow, looks interesting; I was just thinking an inverted block cursor; but this is way too elegant to not investigate Nyrikki. And I agree, it would be a nice way to pay hommage too.
Wow, looks interesting; I was just thinking an inverted block cursor; but this is way too elegant to not investigate Nyrikki. And I agree, it would be a nice way to pay hommage too.
Well, I tried to send the source to your address in profile, but that was no go, so it is your turn now.
I just managed to restore the source from my archives & checked it and although it is directly from 1993 with zero changes it seems to compile just fine on my cross development environment. Even comments seem to be in English, so it should be walk in a park to include.
NYYRIKKI you can make a temporary link here or put it on GitHub. I don't think he's the only one interested.
@Nyyyrikki: Thanks for the heads up; I forgot there was a separate 'public mail address' on the site; that original one indeed didn't work no more; I updated it to a working one. Would love to integrate the mouse-routines with the proper credits.
I must say I was pretty disappointed overall with the plain text editor options on the MSX -- AKID works fine but that was a pain when I had only MSX-DOS1!
jbikker: I'll test your application later, but any chance of supporting other key layouts?
Hi all, thanks for your feedback & suggestions; I've started development on the initial viewer-only version. Will report back whenever I got something usuable.