VOGONS


DOS Notepad v1.1.0

Topic actions

Reply 20 of 29, by cookertron

User metadata
Rank Newbie
Rank
Newbie

New release available - V1.0.1

Features:

  • Tabs supported.

Fixed:

  • Menu shortcuts CTRL+O, CTRL+N etc
  • After adding Tab support, binary file exceeded 64kb limit. File size reduced to 24k

To do:

  • CTRL+SHFT+Z to redo, silently preserving CTRL+Y
  • ALT release to activate menu
  • Large file support
  • Multi-file support
Last edited by cookertron on 2026-02-26, 00:27. Edited 1 time in total.

Asus P5A v1.06, Gigabyte GA-6BXDS, Soyo SY-5EMA (faulty), Viglen 486, Asus SP97-V

Reply 21 of 29, by pan069

User metadata
Rank Oldbie
Rank
Oldbie
cookertron wrote on Yesterday, 09:47:
VERSIONS! I've always hated version numbers, they remind me of line numbers in really old micro BASIC: […]
Show full quote

VERSIONS! I've always hated version numbers, they remind me of line numbers in really old micro BASIC:

10 Print "Hello world!"
11 LET $A = $B
20 goto 10

Oh crap now I need to add something between 10 and 11. Perhaps I've over thinking 😁

That's why we used have the RENUM command back in the day 😀

Reply 22 of 29, by cookertron

User metadata
Rank Newbie
Rank
Newbie
aVd wrote on Yesterday, 10:27:

BTW I tried the disassembly function of agent86.exe on the latest notepad.com just for the experiment, but it just started to generate some JSON-like file for too much time, so I canceled the process before it finish the job (after more than 10 minutes). This is not the thing, that I was expected and I'm still curious how the disassembled code looks.

Sorry I missed this. Agent86 is specifically designed for Agentic AI as a tool for assembling, disassembling 16-bit 8086 assembly code, it also has a built-in emulator so the AI can test its work with virtually no human interaction. The JSON output is designed to give agentic AI the information it needs in a way that it understands best. This really isn't a tool for humans. Agent86 is a tool built by AI for AI!

This is just a snippet of what Claude Opus does to implement a feature in the Notepad we're (yes that includes you) developing:

agent86.exe --run notepad.com --input \"\\\\x00\\\\x23a\" --mouse 0,0 --max-cycles 5000000 --screen --screenshot assets/notepad.bmp --font 8x8 --output-file assets/result.json
agent86.exe --run notepad.com --input \"\\\\x00\\\\x23a\" --mouse 0,0 --max-cycles 5000000 --screenshot assets/notepad.bmp --font 8x16
agent86.exe --run notepad.com --input \"\\\\x00\\\\x23a\" --mouse 0,0 --max-cycles 5000000 --screenshot assets/notepad.bmp --font 8x8 --output-file /tmp/screenshot_result.json
agent86.exe --run-source notepad.asm --max-cycles 2000000 --input \"Hello World\" --screen --output-file p3_type.json
agent86.exe --run-source notepad.asm --max-cycles 2000000 --input \"Hello World\\\\x1b\" --output-file p3_exit.json
agent86.exe --run-source notepad.asm --max-cycles 500000 --screen --output-file p3_build.json
agent86.exe --run-source notepad.asm --max-cycles 5000000 --input \"ABCDE\\\\x00\\\\x4b\\\\x00\\\\x4b\\\\x00\\\\x4bXX\" --screen --output-file p3_arrows.json
agent86.exe --run-source notepad.asm --max-cycles 5000000 --input \"ABCDE\\\\x08\\\\x08XY\" --screen --output-file p3_backspace.json
agent86.exe --run-source notepad.asm --max-cycles 5000000 --input \"HELLO\\\\x00\\\\x47\\\\x00\\\\x53\\\\x00\\\\x53\" --screen --output-file p3_home_del.json
agent86.exe --run-source notepad.asm --max-cycles 5000000 --input \"Line 1\\\\x0dLine 2\\\\x0dLine 3\\\\x00\\\\x48\\\\x00\\\\x48\\\\x00\\\\x48\" --screen --output-file p3_multiline.json
agent86.exe --run-source test_gap.asm --output-file test_gap_result.json
agent86.exe notepad.asm
agent86.exe notepad.asm --agent
agent86.exe notepad.asm --run --max-cycles 20000000 --screen --events '[{\"on\":\"read:1\",\"keys\":\"\\\\\\\\x0f\"},{\"on\":\"read:5\",\"keys\":\"\\\\\\\\x1b\"},{\"on\":\"read:8\",\"keys\":\"\\\\\\\\x00\\\\\\\\x2d\"}]'
Last edited by cookertron on 2026-02-25, 23:56. Edited 2 times in total.

Asus P5A v1.06, Gigabyte GA-6BXDS, Soyo SY-5EMA (faulty), Viglen 486, Asus SP97-V

Reply 23 of 29, by cookertron

User metadata
Rank Newbie
Rank
Newbie
pan069 wrote on Yesterday, 19:03:
cookertron wrote on Yesterday, 09:47:
VERSIONS! I've always hated version numbers, they remind me of line numbers in really old micro BASIC: […]
Show full quote

VERSIONS! I've always hated version numbers, they remind me of line numbers in really old micro BASIC:

10 Print "Hello world!"
11 LET $A = $B
20 goto 10

Oh crap now I need to add something between 10 and 11. Perhaps I've over thinking 😁

That's why we used have the RENUM command back in the day 😀

Sorry whaaaaaaat! This was a thing? I've just died a little bit.

Asus P5A v1.06, Gigabyte GA-6BXDS, Soyo SY-5EMA (faulty), Viglen 486, Asus SP97-V

Reply 24 of 29, by cookertron

User metadata
Rank Newbie
Rank
Newbie

New release available - V1.1.0

Features:

  • Set tab size via a command-line flag /T2 /T4 or /T8 supported. Flag is not case sensitive /t2 /t4 /t8 are valid. Flag can appear anywhere in the arguments.
  • Alt key release toggles the menu bar (same as F10), matching standard Windows behaviour. Alt+letter shortcuts (Alt+F, Alt+E, etc.) still open dropdowns directly.

To do:

  • Large file support
  • Multi-file support

Trying to build up to the last two things on the to-do list as I think they're going to be massive!

Asus P5A v1.06, Gigabyte GA-6BXDS, Soyo SY-5EMA (faulty), Viglen 486, Asus SP97-V

Reply 25 of 29, by igully

User metadata
Rank Member
Rank
Member

@cookertron

I can only find up to 104 files/dirs on my networked MS-DOS 6.22 drive when opening a file from the menu (I currently have 248 files and 24 directories on the root dir) . It should ideally support 512 entries (FAT16 limit). But I am guessing it is a memory consumption issue which prevents NOTEPAD from showing more. A warning message, or better a workaround should ideally be available, if viable.

A request: an ordinary "Shell to DOS" option would be great, located near the menu File->Exit .

Thank you very much for your work.

Last edited by igully on 2026-02-26, 04:15. Edited 1 time in total.

Reply 26 of 29, by aVd

User metadata
Rank Newbie
Rank
Newbie

Hi, @cookertron,
Just tested the latest version 1.1.0. Now <Alt> key works as expected. But there's another related bug: <Alt>+<F>, <Alt>+<E>, <Alt>+<S> and <Alt>+<H> activates drop down menus, but then another key for menu command can not be used, and if <Alt> key is released, the drop-down menu disappears. For example <Alt>+<F> combo and then <N> key press don't work.

Also, the file version in notepad.com and source notepad.asm files is still 1.0.1 (I manually corrected them to 1.1.0 by text and hex-editor).

The rest of the functions seem to work OK.

Thanks for explanation on this "ai programing". Now I see why these modern era tools take away the jobs for millions of "code monkeys", which is not good thing from human perspective. But in this case (using it for a small personal project) it seems like it can be a handy thing. Obviously the "ai coding" saves a lot of time in code writing. I'll spare my comments about "the dark side" of all the popular "ai" algorithms for tracking, control, etc. 😀

Earlier I mentioned something about case/non case sensitive search "field":

aVd wrote on Yesterday, 10:27:

I forgot something important. Find and Replace functions now work fine, but finding text is case sensitive. Maybe a checkbox with option for "case sensitive text on/off" in find "field" will be nice addition.

I hope you can make the coding "ai" to implement this functionality as well. At lest now the produced com-file is far from 64KB limit.

DOS fan :: artificial "intelligence" - not a fan... not a fan at all

Reply 27 of 29, by cookertron

User metadata
Rank Newbie
Rank
Newbie
igully wrote on Today, 04:01:
@cookertron […]
Show full quote

@cookertron

I can only find up to 104 files/dirs on my networked MS-DOS 6.22 drive when opening a file from the menu (I currently have 248 files and 24 directories on the root dir) . It should ideally support 512 entries (FAT16 limit). But I am guessing it is a memory consumption issue which prevents NOTEPAD from showing more. A warning message, or better a workaround should ideally be available, if viable.

A request: an ordinary "Shell to DOS" option would be great, located near the menu File->Exit .

Thank you very much for your work.

Memory constrains are a really horn right up in my *** with this project but, I'm now moving the text buffer to DOS memory which will free up another 8kb of BBS memory, the bit in memory above the program and within the 64kb limit. Keep the program limit to 64kb allows data indexing using the CS register and frees up the DS/ES for video framebuffer and DOS Memory.

Shell to DOS would be a good feature for developers. I'll keep that in mind.

Thanks for your feedback.

Asus P5A v1.06, Gigabyte GA-6BXDS, Soyo SY-5EMA (faulty), Viglen 486, Asus SP97-V

Reply 28 of 29, by cookertron

User metadata
Rank Newbie
Rank
Newbie
aVd wrote on Today, 04:10:
Hi, @cookertron, Just tested the latest version 1.1.0. Now <Alt> key works as expected. But there's another related bug: <Alt>+< […]
Show full quote

Hi, @cookertron,
Just tested the latest version 1.1.0. Now <Alt> key works as expected. But there's another related bug: <Alt>+<F>, <Alt>+<E>, <Alt>+<S> and <Alt>+<H> activates drop down menus, but then another key for menu command can not be used, and if <Alt> key is released, the drop-down menu disappears. For example <Alt>+<F> combo and then <N> key press don't work.

Also, the file version in notepad.com and source notepad.asm files is still 1.0.1 (I manually corrected them to 1.1.0 by text and hex-editor).

The rest of the functions seem to work OK.

Thanks for explanation on this "ai programing". Now I see why these modern era tools take away the jobs for millions of "code monkeys", which is not good thing from human perspective. But in this case (using it for a small personal project) it seems like it can be a handy thing. Obviously the "ai coding" saves a lot of time in code writing. I'll spare my comments about "the dark side" of all the popular "ai" algorithms for tracking, control, etc. 😀

Earlier I mentioned something about case/non case sensitive search "field":

aVd wrote on Yesterday, 10:27:

I forgot something important. Find and Replace functions now work fine, but finding text is case sensitive. Maybe a checkbox with option for "case sensitive text on/off" in find "field" will be nice addition.

I hope you can make the coding "ai" to implement this functionality as well. At lest now the produced com-file is far from 64KB limit.

The menu shortcut bug is now fixed. I hurriedly rushed that release last night after staying up until nearly 2am so didn't have time to test it. Slap dash to say the least!

Yes the case sensitivity search is a must and and I'll get that done as right after moving the text buffer to DOS memory.

AI is a very polarising subject right so I'm not going to talk too much about it other than to say, on a personal level it has allowed me to juice my creativity to the max. There has always been a ceiling to my ability, through my own making or a limit in my physiology (either way the outcome is the same), so this is giving me a new lease of life. Plus juggling a 50hr a week job and a family doesn't leave much wiggle room, a bit like the 64kb limit to this Notepad project 😁.

Asus P5A v1.06, Gigabyte GA-6BXDS, Soyo SY-5EMA (faulty), Viglen 486, Asus SP97-V

Reply 29 of 29, by aVd

User metadata
Rank Newbie
Rank
Newbie

Thanks, @cookertron! Just tested the latest version from your github repo and now it works perfectly fine.

DOS fan :: artificial "intelligence" - not a fan... not a fan at all