Bad Sector
Member
I was messing with DOSBox as usual and at some point i thought to try the DOS version of the OpenWatcom compiler i have installed (i did a new installation in DOSBox... which seems to be the same as the windows installation i have in Windows). OpenWatcom seems to support a lot of systems (although most of them aren't mainstream anymore) and DOS is one (or actually, two - 16bit and 32bit, with the latter to support a bunch of DOS extenders) of them. So i was just playing around with the 16bit compiler using the OpenWatcom VI, which is a nice VI clone. However OWVI is still a VI and i don't like its modal nature, so i decided to write an editor for DOS using OpenWatcom (which, btw, i think is the only "complete" toolset that is still in active development and supports DOS - and a bunch of other stuff, like Win16 and OS/2). Besides i always wanted to write a text editor.
And i wrote a bunch of them at the past. But that was in the past, long forgotten, stored on old dusty 5.25" floppies (which, btw, are just behind me), etc. Also they were written when i was still learning how to program, thus they sucked .
So, since i decided to write a DOS text editor, i thought to make it usable even on older PCs. With older i mean, the original PC and XT and clones like those i used when i was 7 and making ASCII animations pretending to be games .
However there is a small problem with that: when i moved from my parents' house, they considered a good idea to throw all my older computers, including a pair of HYUNDAI PC XTs (awesome machines, not that i knew anything else) and some gray, probably Tulip, thing i don't remember much about. So i don't have any real hardware to test it and in my current house all i have is three laptops, the oldest of which is a Pentium 1 (the next best computer is a dualcore i'm writing this post from).
So i made the editor in DOSBox with the cycles turned all down to about 400 and assumed that thats a good speed because other editors also crawled at that speed .
So here is where you come in. I would like you to test this editor in real hardware and tell me if it works nice, especially the scrolling part which i'm sure DOSBox doesn't slowdown properly . Basically what i want to know is if the editor has a usable speed or i should get down and dirty with assembly (i don't mind assembly, although it has been a few years since i touched it, but i don't know how to write it in OpenWatcom and i remember from older listings i saw back when Watcom was the dominant compiler that its inline assembler syntax was ugly and based on #pragmas).
Here is a screenshot of the editor running inside the PicoXT emulator, which is the closest i could find to the real hardware (not that i searched past the first two pages of Google's search for a xt emulator). Which seems to be a bit buggy, especially given that it misses the blinking cursor and messes up a bit the scrolling. Unless the original CGA didn't had a blinking cursor (i don't know, i had some ATI card in one of my XTs and a -huge- hercules card in the other and the gray one... i have no idea what was inside).
And here is the test download:
http://www.badsectoracula.com/peponi/medtest1.zip
Just run MED.EXE. It will load MED.TXT. Move around and maybe type some text. Horizontal scrolling doesn't work yet. Also if you press ENTER for a new line, it redraws the whole screen currently (later it'll just scroll).
Use F10 to exit. By doing this, it saves the MED.TXT file and exits the program.
And i wrote a bunch of them at the past. But that was in the past, long forgotten, stored on old dusty 5.25" floppies (which, btw, are just behind me), etc. Also they were written when i was still learning how to program, thus they sucked .
So, since i decided to write a DOS text editor, i thought to make it usable even on older PCs. With older i mean, the original PC and XT and clones like those i used when i was 7 and making ASCII animations pretending to be games .
However there is a small problem with that: when i moved from my parents' house, they considered a good idea to throw all my older computers, including a pair of HYUNDAI PC XTs (awesome machines, not that i knew anything else) and some gray, probably Tulip, thing i don't remember much about. So i don't have any real hardware to test it and in my current house all i have is three laptops, the oldest of which is a Pentium 1 (the next best computer is a dualcore i'm writing this post from).
So i made the editor in DOSBox with the cycles turned all down to about 400 and assumed that thats a good speed because other editors also crawled at that speed .
So here is where you come in. I would like you to test this editor in real hardware and tell me if it works nice, especially the scrolling part which i'm sure DOSBox doesn't slowdown properly . Basically what i want to know is if the editor has a usable speed or i should get down and dirty with assembly (i don't mind assembly, although it has been a few years since i touched it, but i don't know how to write it in OpenWatcom and i remember from older listings i saw back when Watcom was the dominant compiler that its inline assembler syntax was ugly and based on #pragmas).
Here is a screenshot of the editor running inside the PicoXT emulator, which is the closest i could find to the real hardware (not that i searched past the first two pages of Google's search for a xt emulator). Which seems to be a bit buggy, especially given that it misses the blinking cursor and messes up a bit the scrolling. Unless the original CGA didn't had a blinking cursor (i don't know, i had some ATI card in one of my XTs and a -huge- hercules card in the other and the gray one... i have no idea what was inside).
And here is the test download:
http://www.badsectoracula.com/peponi/medtest1.zip
Just run MED.EXE. It will load MED.TXT. Move around and maybe type some text. Horizontal scrolling doesn't work yet. Also if you press ENTER for a new line, it redraws the whole screen currently (later it'll just scroll).
Use F10 to exit. By doing this, it saves the MED.TXT file and exits the program.