1 Oct 2005 08:39
Unified source (yay!)
TeeEmCee <teeemcee <at> gmail.com>
2005-10-01 06:39:57 GMT
2005-10-01 06:39:57 GMT
On 10/1/05, TeeEmCee <teeemcee <at> gmail.com> wrote: > On 9/30/05, Bob the Hamster <Bob <at> hamsterrepublic.com> wrote: > > On Thu, Sep 29, 2005 at 11:31:27PM +0100, Simon Bradley wrote: > > > I have just commited a version of FBOHR that compiles in both > > > QuickBasic and FreeBasic. > > > > > > There are two new files - compat.bi and compat.bas - which are > > > different for each build. Everything else is identical. It is complete > > > up to revision 181 of the master QB source. At this stage, I have > > > bundled the QBasic files into a zip called qbfiles.zip and added that > > > to the FBOHR repository. The zip also includes a patch that will > > > change rev 181 of ohrrpgce to match rev 10 of fbohr, and a readme > > > which explains what to do (either copy the files from fbohr and add > > > the zip contents, or patch ohrrpgce and add compat.bi & .bas). > > > > > > Basically, I moved a small number of functions (xbload, crashexplain, > > > getdefaultfont) out to compat.bas, so they could differ between the > > > two versions. I had to add exename$ and progdir$ to the globals for > > > this. I then used FB's preprocessor functions to paper over the other > > > major differences. I added an empty sub called fbdim to the QB > > > version, and used the FB preprocessor to swap it for "dim as short", > > > to fix all the file reads/writes where a 16-bit integer was needed. > > > Also, bmod.bas needed a few variable name changes, and I had to remove > > > the /'s from the global declarations. > > > > > > The QB version builds fine here, under Win98 and QB4.5. I don't know > > > how it is under 7.1 and DOSBOX. > > > > > > The FreeBasic version still has no sound and a couple of small bugs, > > > but I suspect it is all contained in allmodex.bas, as most of the(Continue reading)
RSS Feed