View Full Version: I try to port Reda4 for dex4u

dex >>DexOS >>I try to port Reda4 for dex4u


redaman- 01-12-2006
I try to port Reda4 for dex4u
HI, I develop a soft http://geocities.com/redaforth/ i'ts plain C (compiled with gcc of cppdev) with SDL. tell me what is missing.. 1. convert all system call to dex4u systems call or assembler source. 2. convert the call to SDL to dex4u vesa calls 3. make the assembler source of my C code. can be done this easy ?? thanks, of course, congratularion for yours SO Pablo

Dex- 01-12-2006

Thanks redaman and congratulation on your software. Basically all you need to run a program in Dex4u is: if its a CLI program, it will be loaded to 0x200000. From here to top of memory, you can use in your program. For gui programs , it will be loaded to 0x800000 and you have from there to top of memory. Next you need to do these 1. convert all system call to dex4u systems call or assembler source. 2. convert the call to SDL to dex4u vesa calls 3. make the assembler source of my C code. You could also use most BIOS int as Dex4u has a function to do realmode BIOS int. How hard it will be is down to the program that needs converting, but it will be about as hard as converting it for Dos, but with more memory to play with. If you do try to convert it to run on Dex4u, good luck and thanks :)

redaman- 01-12-2006

what´s a CLI program ? why not begin the program in less adress ? there are a example program whit mouse and vesa ? pablo

Dex- 01-12-2006

CLI = Command Line Interface, as in any program you start from text mode. or from here: http://www.dex4u.com/help.htm If you start from here: http://www.dex4u.com/gui.htm Its a GUI program. As for mouse and vesa, there is no example yet, if you can give me about a week, i can make one for you. Let me know.

redaman- 01-12-2006
not for now
I try to improve the c code first and how generate assembler thank´s Pablo

redaman- 01-12-2006

Sorry, not work in this sample, sure i can do for learn... tanks Pablo

Dex- 01-12-2006

Thats OK :) .

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.