Page 1 of 1


Posted: Tue Sep 08, 2009 2:35 am
by coco.oric

I'm looking to put OSDK on a portable environnement.
So i've launch DOSBOX Portable, and simply define a new drive C: with the x:\OSDK directory, then define SET OSDK=C:\

:? but the compilation of the HELLO package doesn't work.

Does anybody have an idea for this :?:


Posted: Tue Sep 08, 2009 4:42 pm
by Chema
Dbug is the one who can help here, but could you please provide any error messages that may appear?

That would really help.

Posted: Tue Sep 08, 2009 6:15 pm
by Dbug
Try with Wine instead of DosBox.
The OSDK has been compiled as Win32 console applications, not DOS applications.

You can find more about how to use the OSDK with Wine in the documentation folder:

I've been using it myself on my eeePc under Ubuntu Linux, so I know it is doable.

You can then create two shell files:
wineconsole osdk_build.bat
cp build/*.tap /home/.wine/drive_c/osdk/Euphoric/osdk.tap
cd /home/.wine/drive_c/osdk/Euphoric

Posted: Tue Sep 08, 2009 9:01 pm
by coco.oric
Thanks Dbug, but i'm working on a WinXP PC.
Do you have a solution with this OS ?

Posted: Tue Sep 08, 2009 9:06 pm
by Dbug
Well, the only suggestion I could do is to not use dosbox at all since the Osdk main system is Windows XP.

When you say 'portable environnement', what do you mean exactly, could you describe what you are trying to do?

You can connect on the Oric chat if you want, we are currently online. ... /index.htm

Posted: Wed Sep 09, 2009 3:15 am
by coco.oric
By portable i mean that i can't install any software on the PC laptop (of my job).
So i'm using an USB Key to put my software.

I'm out of my house from monday to thusday for my job and i wanted to go back on coding ORIC within the end of this year.
That's the reason of my searching a way of using the OSDK on a portable way.

Posted: Wed Sep 09, 2009 4:51 am
by coco.oric
... :(

ok, i'm not so good on my pc
i hope i'll be a better coder with the OSDK.

i've done the
cd xxx/xxx to go to the hello directory
launch BUILD_.BAT

then tested it on my Euphoric.
I works :)

Next step will be changing the notepad to make the code.
(thanks for the messages in the cross dev platform forum)

I'll test CRIMSON EDITOR (Portable)
CONTEXT (Portable edition V0.86)
and an C IDE like Dev-C++ Portable

Dev-C++ Portable description

Dev-C++ gives you a full-featured Integrated Development Environment (IDE) for the C/C++ programming language

Dev-C++ gives you a full-featured Integrated Development Environment (IDE) for the C/C++ programming language.
It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler.

Here are some key features of "DEV C":

· Support GCC-based compilers
· Integrated debugging (using GDB)
· Support for multiple languages (localization)
· Class Browser
· Code Completion
· Debug variable Browser
· Project Manager
· Customizable syntax highlighting editor
· Quickly create Windows, console, static libraries and DLLs
· Support of templates for creating your own project types
· Makefile creation
· Edit and compile Resource files
· Tool Manager
· Print support
· Find and replace facilities
· Package manager, for easy installation of add-on libraries
· CVS Support
· To-Do List
· CPU Window


· 32 MB of RAM
· The executables compiled by Dev-C++ will need MSVCRT.DLL (comes with Windows 95 OSR 2 or higher)

Posted: Wed Sep 09, 2009 5:20 pm
by Dbug
Don't bother with a full featured IDE, any simple text editor that supports external makefiles/tools would work fine.

If you can find a text editor with:
- Syntax coloring for C
- Syntax coloring for assembler
- Keyboard shortcut to run "osdk_build.bat" (with the output messages correctly displayed in an output window in the text editor so you can "double click" on the error messages)
- Keyboard shortcut to run "osdk_run.bat"

Then you get about everything you need.

Personally I'm using Crimson Editor, and I don't even bother running the batch file from it, I just double click in windows explorer :)