EDIT.com / Notepad for MSX-DOS

ページ 2/2
1 |

By NYYRIKKI

Enlighted (6067)

NYYRIKKI さんの画像

31-12-2022, 01:39

Manuel wrote:

Wow, how does that work??

Well... that is a fair question. Smile 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.

By sdsnatcher73

Prophet (3955)

sdsnatcher73 さんの画像

31-12-2022, 05:45

Pretty inventive!

By ducasp

Paladin (680)

ducasp さんの画像

31-12-2022, 13:19

NYYRIKKI wrote:

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 Smile

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 Smile

By SKiLLa

Expert (118)

SKiLLa さんの画像

31-12-2022, 15:20

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.

By NYYRIKKI

Enlighted (6067)

NYYRIKKI さんの画像

31-12-2022, 16:23

SKiLLa wrote:

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.

By gdx

Enlighted (6215)

gdx さんの画像

01-01-2023, 10:21

NYYRIKKI you can make a temporary link here or put it on GitHub. I don't think he's the only one interested.

https://gofile.io/uploadFiles

By SKiLLa

Expert (118)

SKiLLa さんの画像

01-01-2023, 14:45

@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.

By Punch

Supporter (2)

Punch さんの画像

02-01-2023, 14:16

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?

By SKiLLa

Expert (118)

SKiLLa さんの画像

05-01-2023, 13:13

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.

ページ 2/2
1 |