Hi, On Tue, Jul 26, 2011 at 11:36 PM, Ralf A. Quint <[email protected]> wrote: > At 08:10 PM 7/26/2011, Steve Nickolas wrote: >>On Tue, 26 Jul 2011, Ralf A. Quint wrote: >> >> > I would not call BWBASIC "weak" but including it would give users a >> > "basic" scripting tool which goes beyond the DOS batch scripting.
I've gone ahead and compiled BWBASIC 2.50 for FreeDOS. It's not in "preferred" .ZIP layout / format, but I'm honestly not sure who (if any) would care. (If needed, I can reorganize it. I'm not sure if anybody wants to mirror this, though. And yes, it includes full sources, binary, and my patch.) https://sites.google.com/site/rugxulo/bwbas250.zip?attredirects=0&d=1 I didn't heavily test it, but it does seem to work. It does come with an OpenWatcom makefile, but it's for 386+ only (and apparently only Windows console). I couldn't decide a decent 32-bit solution (DOS/32A? Win32 w/ optional WDOSX STUBIT later if needed? Win32 only assuming HX?) for us, so I didn't include that. Obviously the main goal (for me) was to get 16-bit working (again). Hence I had to basically tweak my own makefile *and* spend a long time trying to pretend I understand all the 16-bit memory models (confusing!). There's probably a "better" way, but I'm no Japheth, so I'd have to dig in to see how he did JWasmR to really know. (I don't know what limitations are inherently present there. I've not done a lot of work with DOS memory models in C.) Anyways, the main problem was actually that somebody (Paul Edwards??) changed MAXSTRINGLEN to 4000 instead of (old 2.20's) 255, which easily overflowed something somewhere (again, confusing!). So by switching back to 255, it at least compiles and works again in 16-bit. :-)) >> > Don't know what AWK has to do with either BWBASIC, EXE2BIN or DEBUG, >> > but awk is certainly not DOS and therefor should IMHO not be included >> > in any "base" package... I'm still of the opinion that "something" should be included by default. Debug is better than nothing, but not much (by itself) .... That will probably have to wait until after FD 1.1 is out (2.0 ??). >> > Seeing that there is so little "respect" for the old tools that made >> > out DOS, I am not sure if I should pick up one of my projects I had >> > started a few years back, Anything is welcome, but some tools are more generic and useful than others. > a GW-BASIC clone, looks like there won't be much interest for this at least > in here. Not true! And BTW, I just read about this recently (since having never seen it first-hand): http://en.wikipedia.org/wiki/Donkey.bas http://www.youtube.com/watch?v=kymzTlqi1SY&feature=related Notice the (co)author! ;-) >>I for one would particularly be interested in a gwbasic clone that >>actually works like gwbasic. BTW, Steve, didn't you write your own BASIC somewhere? It was (is?) on SourceForge, but I never tried it. > That was my basic idea, but beside that I got interrupted at some > point by health and other personal issues, Join the club!! :-P > I got a bit stuck at implementing routines for the floating point math in MBF > (which is what BASICA/GW-BASIC and the early MS BASIC compiler use). > I have some old routines for most of the single precision stuff but doing > double precision with only 16bit registers at hand is a bit tough. It can't be *that* impossible. Still, I'm not sure I'd be able to help much. (What language are you writing in? Assembly? C?) > And without MBF (Microsoft Binary Format), it can't work like GWBASIC. I recently read that there are routines out there that can convert this (oddball) format. One text online said check Borland's FTP (!), which of course is long gone, but that means it's probably mirrored somewhere and well-documented. I'm sure somebody on FreeBASIC's forum would know more. > Otherwise, so far it will read and (de)tokenize any BASICA/GWBASIC > program that I had thrown at it, it will do LIST and LLIST and I have > most of the known memory map as well as PEEK and POKE working... Sounds good! > Will see how I get time, as I am now self-employed for the last > couple of month trying to start my own business, and see that I > continue on this after I got BACKUP&RESTORE out... (Just wanted to refresh this topic very briefly.) Anyways, good luck! ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
