Debug tools for Bochs?

Discussions about osFree boot sequence
admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 3:55 pm

osfadmin
Site Admin


Joined: 24 Nov 2003
Posts: 60


PostPosted: Fri Mar 09, 2007 11:07 am Post subject: Reply with quote
valerius wrote: Regarding BFE, I can try to compile it for XFree86/OS2 with GTK1. I have XFree86 installed, so, the BFE can be useful. But must we rely on optional features, like XFree86/OS2? I don't know. But XFree86 version may be useful.
How about everblue?

Back to top
View user's profile Send private message Send e-mail

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 3:59 pm

osfadmin
Site Admin


Joined: 24 Nov 2003
Posts: 60


PostPosted: Fri Mar 09, 2007 11:08 am Post subject: Reply with quote

Ok. I propose following toolset for "installer" and "configurer" of build environment:
  1. REXX as portable code
    1. ReginaREXX on Windows
    2. ClassicRECC on OS/2
    3. ReginaREXX on Linux
  2. REXX/DW as GUI library. It is presented for all 3 platforms
  3. REXX/Trans for REXX interpreter interaction.
  4. rxFTP library for packages downloading (not for now yet)
It is just installer. Goal is to download packages from ftp, configure and install them.

Build environment:
  1. Bochs 2.2.6 as debuger (2.2.6 exists for all 3 platforms)
  2. BFE as Bochs frontend
  3. Open Watcom tools as core build system
  4. Open Watcom compilers for C/C++/Fortran developers
  5. REXX as helper scripts interpreter
  6. Free Pascal as Pascal compiler
  7. IDL4 as L4 IDL Compiler
  8. GCC and tools as fast porting tools (for L4 compilation, for example)
  9. Valerius' build environment as osFree build environment prototype
  10. Valerius' tools for Bochs hdd images build.
Nearest goals:
  1. Check is Regina REXX allow to use external REXX code (Classic REXX allows to use external procedures, but not with great interactions)
  2. Build installer prototype
  3. Make L4 loadable Wink
Any suggestions?

Back to top
View user's profile Send private message Send e-mail

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 4:02 pm

valerius



Joined: 03 Apr 2005
Posts: 50
Location: Elizovo, Kamchatka, Russia

PostPosted: Fri Mar 09, 2007 12:59 pm Post subject: Reply with quote
osfadmin wrote:
Viking wrote: A question is: what languege to write it in? ReginaRexx seems to limited (it does not support reusable modules in Rexx, only external compiled code).
Hm.. I'll check this, but IBM Classic REXX allow to reuse external.
As I saw in ReginaREXX sources, there was a rexxutil library for it, and, if I remember correctly, there was a mention of external libraries in Regina manual. (It can be downloaded from Regina page at SourceForge).
osfadmin wrote:
Viking wrote: Maybe Python. I would prefer Perl, but maybe it's not suited for this (to big runtime, not easy to read source code). Anyone has any suggestions?
I don't like idea to use not REXX language. I have idea to build something like WSH, but more usable. I mean common API but different languages. Such approach allow us not limit ourself in preffered language.
Wsh or Wish? Do you mean windowing shell for Tcl/Tk or something else? Please explain what means "common API but different languages".

_________________
WBR,
Valery V. Sedletski
Back to top
View user's profile Send private message
ICQ Number

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 4:04 pm

valerius



Joined: 03 Apr 2005
Posts: 50
Location: Elizovo, Kamchatka, Russia

PostPosted: Fri Mar 09, 2007 1:04 pm Post subject: Reply with quote
osfadmin wrote:
valerius wrote: Regarding BFE, I can try to compile it for XFree86/OS2 with GTK1. I have XFree86 installed, so, the BFE can be useful. But must we rely on optional features, like XFree86/OS2? I don't know. But XFree86 version may be useful.
How about everblue?
It may help, we can try it.

_________________
WBR,
Valery V. Sedletski
Back to top
View user's profile Send private message
ICQ Number

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 4:08 pm

valerius



Joined: 03 Apr 2005
Posts: 50
Location: Elizovo, Kamchatka, Russia

PostPosted: Fri Mar 09, 2007 1:31 pm Post subject: Reply with quote
osfadmin wrote: Ok. I propose following toolset for "installer" and "configurer" of build environment:
  1. REXX as portable code
    1. ReginaREXX on Windows
    2. ClassicRECC on OS/2
    3. ReginaREXX on Linux
  2. REXX/DW as GUI library. It is presented for all 3 platforms
There is also REXX/Tk, as I heard, it is similar to Tcl/Tk. But I didnt tried them both.
osfadmin" wrote: 3. REXX/Trans for REXX interpreter interaction.
Can you give a link to 2. and 3. ?
osfadmin wrote: 7. IDL4 as L4 IDL Compiler
Why not Magpie - it seems to be commonly used with scons/Kenge/Iguana. You was considering to use these tools, didnt you? But again, we dont know the set of needed features yet.

_________________
WBR,
Valery V. Sedletski
Back to top
View user's profile Send private message
ICQ Number

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 4:12 pm

osfadmin
Site Admin


Joined: 24 Nov 2003
Posts: 60


PostPosted: Fri Mar 09, 2007 6:52 pm Post subject: Reply with quote
valerius wrote:
osfadmin wrote:
Viking wrote: A question is: what language to write it in? ReginaRexx seems to limited (it does not support reusable modules in Rexx, only external compiled code).
Hm.. I'll check this, but IBM Classic REXX allow to reuse external.
As I saw in ReginaREXX sources, there was a rexxutil library for it, and, if I remember correctly, there was a mention of external libraries in Regina manual. (It can be downloaded from Regina page at SourceForge).
I'm not about external libs with SAA interface. I'm about external modules (like in Perl, for example)
valerius wrote:
osfadmin wrote:
Viking wrote: Maybe Python. I would prefer Perl, but maybe it's not suited for this (to big runtime, not easy to read source code). Anyone has any suggestions?
I don't like idea to use not REXX language. I have idea to build something like WSH, but more usable. I mean common API but different languages. Such approach allow us not limit ourself in preffered language.
Wsh or Wish? Do you mean windowing shell for Tcl/Tk or something else? Please explain what means "common API but different languages".
Windows Scripting Host. According API: I mean we can try to use REXX SAA API for use any scripting language not REXX only.

Back to top
View user's profile Send private message Send e-mail

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 4:17 pm

osfadmin
Site Admin


Joined: 24 Nov 2003
Posts: 60


PostPosted: Fri Mar 09, 2007 6:55 pm Post subject: Reply with quote
valerius wrote:
osfadmin wrote: Ok. I propose following toolset for "installer" and "configurer" of build environment:
  1. REXX as portable code
    1. ReginaREXX on Windows
    2. ClassicRECC on OS/2
    3. ReginaREXX on Linux
  2. REXX/DW as GUI library. It is presented for all 3 platforms
There is also REXX/Tk, as I heard, it is similar to Tcl/Tk. But I didnt tried them both.
valerius wrote:
osfadmin wrote: 3. REXX/Trans for REXX interpreter interaction.
Can you give a link to 2. and 3. ?
osfadmin wrote: 7. IDL4 as L4 IDL Compiler
Why not Magpie - it seems to be commonly used with scons/Kenge/Iguana. You was considering to use these tools, didnt you? But again, we dont know the set of needed features yet.
If we have a plan to use Pistachio then we need IDL4 because other compilers not support X.2 API (or I'm wrong?)

REXX/Trans and REXX/DW can be found at regina-rexx.sf.net

Back to top
View user's profile Send private message Send e-mail

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 4:20 pm

Viking



Joined: 29 Sep 2006
Posts: 42
Location: Sweden

PostPosted: Sun Mar 11, 2007 4:17 am Post subject: Reply with quote
valerius wrote: But current OS/2 bochs versions are SDL (or DIVE?) ones. And XFree86/OS2 versions are too old... Unfortunately, there is no PM version of GTK, but there is a PM version of QT. Do you know of QT frontends for Bochs debugger?
I don't know any other gui frontends for Bochs. But I have been trying to write a simple GTK porting layer (for BFE) for a gui toolkit, FLTK (it does not have a port for OS/2, though), mostly for fun. FLTK is a very small library.
Qt seems to be a better target for that. So I will change it to use Qt instead.

/Viking

Back to top
View user's profile Send private message

admin
Site Admin
Posts: 1925
Joined: Wed Dec 19, 2018 9:23 am
firstname: osFree
lastname: admin

Re: Debug tools for Bochs?

Post by admin » Mon Mar 11, 2019 4:22 pm

Viking



Joined: 29 Sep 2006
Posts: 42
Location: Sweden

PostPosted: Sun Mar 11, 2007 4:30 am Post subject: Reply with quote
osfadmin wrote:
Viking wrote: That sounds interesting. So, should I write the build instructions for Linux? It was a bit messy to get it working. I compiled Open Watcom in windows (the Linux version) and copied the executable files to the Linux partition (I could not run the compiler, because the files did not have (executable) "x" bit set). OW can be compiled with GCC, at least it said so in the documentation.
Is it problem to set executible bit?
Well, no. I was at the moment a bit lazy ;) A better solution would have been to change the options in fstab which mounts the NTFS partition. So that every file is treated as having the executable bit set. And then just umount and remount it. At least I think so. It was a while I looked at the doc for mount.

Back to top
View user's profile Send private message

Post Reply