Editor up load I have up loaded Tex4u (Dex4u's text editor), i hope you like it, it for text mode, there will be a GUI ver as soon as it out of beta ver, there is still more functions to add, including Cut-N- paste, Search, etc, these will be added in the next release.
I thought it better to get all the bugs found first, before make more functions.
The code is freely available to all forum members, i am comment it at the moment,
but any member who can not wait, let me know and i will send the uncommented fasm code.
I hope this will become a group project, so member can add to and optimise the code so we end up with a better editor.
NOTE: As i have used some of the code from tonyMac text viewer, it is already a joint effort 8).
You will need the latest kernel32.exe as there new function, i have included it in the zip, so do not try the edit with old "kernel32" as it will not work.
http://www.dex4u.com/kernel32.zip
Screenshot:
PS: Marry Xmas :) .
jas2o- 12-21-2005
I would try it but my laptop is playing up.
The floppy doesn't want to be read.
Does this kernel32 support DOSbox?
(I'm guessing that is how you made your screenshot).
I'll have to try again later, sorry.
Jas2o
Dex- 12-21-2005
Here is a Dex4u OS image, with a special floppy driver, that i have been working on for some time, that lets you use the floppy in DosBOX,(for read only).
All you need is the latest ver of DosBOX, this zip and write one line to test Dex4u under XP etc.
NOTE: In DosBOX you can load file, but not Write to disk (as its a image) allso note, Dex4u will run much slower than on a real PC.
As a side note this special floppy driver, lets Dex4u write and load from USB keyfobs, i will give more info, when i have done some more work on it :) .
http://www.dex4u.com/DosBoxDex4u.zip
Rohan- 12-22-2005
Good work, I think next step - porting Fasm, and writing simple file manager.
After all coding for Dex will be more easy!
jas2o- 12-22-2005
I'll try get the laptop working tomorrow (finally have room to work in now that I've cleaned up :) )
DOSbox is working fine :)
I tried to extract the image and change imgmount to mount, I managed to get into Dex4u but it couldn't read floppy :( Why does it need the image?
Fasm port should before GUI version.
Jas2o
tonyMac- 12-22-2005
It depends on how hard it is to make a GUI version, if it's not difficult, then no problem. I'm going to be limited to an emulated PC, I had to leave my test box at school in storage, I didnt' have enough room to put it in the truck... :cry: But, it shouldn't matter on the application level too much, as long as the newest ver. runs. under the emu. Getting FASM ported is definitely a major goal/proof of concept, as at that point we'll have a self-contained OS. If I could get a clearer worded description of the requirements, it sounds like it only needs interfaced (with simple functions) to the OS's functions and given 2 areas of memory. If I could determine how to go about that it shouldn't be difficult. Figure out how to let it read/write to disk and gve it 2 memory spaces is what it mostly comes down to, at least from what I've read. Sorry I've been so out of it for so long, my parents monopolized my time last work term, and then I was back at school again. Now I'm going to come home from work with nothing to do but sleep and code, since I'm moving to Virginia... :lol:
tonyMac- 12-22-2005
I've now tested the editor, great job! there are a few simple ui tweaks that could be made (press <alt>+f to open file menu, instead of <alt> then f, but overall it's great. did you use my code to display the text? that's all my prog did, so that what I assume :laugh: I would like to see the source, esp. for when I get moved into my apartment. Of my three test case text files, one did not display correctly in the editor, I'm going to see which one, it may have been the case that I was curious as to who ever used it... Are we going to support rtf in the future? There are some very thick books describing how to render it, maybe once in the gui it would be easier (with fonts, I guess... although they could easily be ignored for a while, only taking care of colors and centering and stuff for a simple viewer because of the rtf format)
Dex- 12-22-2005
Thanks all, for testing it :),
@tonyMac,
did you use my code to display the text?
Yes!, a modded version.
i will send you a link to the code, as for not display one file right, that will probably be a linux saved file, as it does nothing on 0x0a, eg:
cmp dl,0x0a
je DoNoThing
i will change that to do the same as 0x0d, as linux only puts a 0x0a at end of line instead of 0x0a, 0x0d, any way thats as good as fixed :) .
Also any short cut can be added very easily.
I see one of the biggist problems with fasm port, will be, we will need to add dirs search, not hard just more work.
@jas2o, It must be something to do with the inner working of DosBOX, there may be a way round it, but i have no time to experiment, too busy coding.
@Rohan, Yes being able to assemble code, with our rebooting, will be a big help :) .
PS: I will update and post the fix version of Tex4u, that can display linux saved files right, tonight.
solidus117- 12-23-2005
Nice work Dex and tonyMac. Works like a charm.
Speaking of a requirement for FASM, what about command line parameter passing? I know this could be done in-program... But yeah.
Again, nice work. :)
tonyMac- 12-23-2005
When I was naming parameters, it was for minimal functional state. We also have to take into account outputting debug messages and so forth. At first it will probably be in-program, until more work has been done on the CLI.
Dex- 12-23-2005
Thanks for test the editor solidus117 :) .
I have bean thinking of add differant text screen buffs, eg: terminal, debug etc, like in v2os v0.64, so by press a certain key, you can jump between the differant screens.
solidus117- 12-23-2005
Like the Function Keys or maybe Ctrl+<arrow>? A hex output buffer would also be cool in my opinion.
Dex- 12-23-2005
Yes solidus117, thats the idea, all we need to do, is give the address for these buffs in the "DexFunctions.inc",programmers can then send the right text info to the right buff.
I agree a hex dump buffer, would be cool 8) .
bubach- 12-25-2005
Nice work Dex!
I'm sad that i can't test it atm, but i'm sittign at home ( still no broadband, damn delays ) and is currently writing this on a connection via my mobile phone..Pretty cool, but it also means that i pay per MB. :(
Dex- 12-25-2005
That OK bubach :), when your back on line (that does not cost a arm & leg), give it a test run, i have tyred to use as little of Dex4u built in functions, so should be easy to port to BOS :) .
Its still cool to surf the net on a mobile phone 8) .
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.