Re: [Freedos-devel] GW-BASIC random numbers

2020-11-01 Thread TK Chia
Hello Jim, hello Steve, hello Akaydin, DEF SEG is necessary for BLOAD and BSAVE to operate on screen memory - I'll add that you can also do the "old skool" thing and do like we did in my Fortran77 programming days: prompt the user for a seed value, and pass that to RANDOMIZE. 10 PRINT "Enter a

[Freedos-devel] To boot FreeDOS from GPT partition table...

2020-11-01 Thread Paul Dufresne via Freedos-devel
It seems not so hard in theory: Define a GUID for FreeDOS. Create a BIOS Boot partition. Write at the beginning of BIOS Boot partition a special "MBR" that search FreeDOS GUID partition in the GPT, load it and jump to it.___ Freedos-devel mailin

[Freedos-devel] Re : Could the installer use gcdrom to get SATA cdrom working without IDE emulation?

2020-11-01 Thread Paul Dufresne via Freedos-devel
I said: "but why don't we use gcdrom rather than UDVD2?" Obviously because a lot of DOS computers does not have a SATA "CDROM" (probably more DVD disk). Ideally I would say try gcdrom, if it does not work, use old UDVD2. But, to be more prudent I propose: try UDVD2, if it does not work, try

[Freedos-devel] Could the installer use gcdrom to get SATA cdrom working without IDE emulation?

2020-11-01 Thread Paul Dufresne via Freedos-devel
Hey! We already have a AHCI driver (SATA)!? I see it at: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/gcdrom.html I know the installer now fail with UDVD2 for SATA... but why don't we use gcdrom rather than UDVD2?

Re: [Freedos-devel] GW-BASIC random numbers

2020-11-01 Thread Steve Nickolas
On Sun, 1 Nov 2020, Jim Hall wrote: I'll add that you can also do the "old skool" thing and do like we did in my Fortran77 programming days: prompt the user for a seed value, and pass that to RANDOMIZE. 10 PRINT "Enter a random seed value:" 20 INPUT SEED 30 RANDOMIZE SEED And (and MBASIC-80/8

Re: [Freedos-devel] GW-BASIC random numbers

2020-11-01 Thread Jim Hall
On Sun, Nov 1, 2020 at 1:41 PM Steve Nickolas wrote: > > On Sun, 1 Nov 2020, Bora Akaydin via Freedos-devel wrote: > > > Hi everybody,I am not 100% sure that DEF SEG statement is implemented in > > GW BASIC but if it is, isn't it possible to read timer ticks value from > > BIOS Data area and initi

[Freedos-devel] Priority of ticket, 1 should be highest priority

2020-11-01 Thread Paul Dufresne via Freedos-devel
I was misinterpreting the priority of tickets on SourceForge. I thought 9 was the highest, but it seems to be the lowest, according to: https://sourceforge.net/p/forge/site-support/18975/#cc07___ Freedos-devel mailing list [email protected]

Re: [Freedos-devel] began to list problems I see with FD 1.3-rc3

2020-11-01 Thread Paul Dufresne via Freedos-devel
Le sam., 31 oct. 2020 06:26:59 -0400 Jerome Shidel écrit Hi Paul, Have you listed the issues you have found on the FreeDOS "feature requests” and “bug tracker” lists on http://SourceForge.net? https://sourceforge.net/p/freedos/feature-requests/ https://sourceforge.net/p/freedos

Re: [Freedos-devel] GW-BASIC random numbers

2020-11-01 Thread Steve Nickolas
On Sun, 1 Nov 2020, Bora Akaydin via Freedos-devel wrote: Hi everybody,I am not 100% sure that DEF SEG statement is implemented in GW BASIC but if it is, isn't it possible to read timer ticks value from BIOS Data area and initialize random seed using this value? I know it is not the same as "R

Re: [Freedos-devel] GW-BASIC random numbers

2020-11-01 Thread Bora Akaydin via Freedos-devel
Hi everybody,I am not 100% sure that DEF SEG statement is implemented in GW BASIC but if it is, isn't it possible to read timer ticks value from BIOS Data area and initialize random seed using this value? I know it is not the same as "RANDOMIZE TIMER" but would be a close alternative, IMO. Best

Re: [Freedos-devel] Dreidl game

2020-11-01 Thread Jim Hall
On Sat, Oct 31, 2020 at 3:14 PM Volkert via Freedos-devel < [email protected]> wrote: > Aw, man. Now I have Kyle's Dreidl Song from that South Park holiday > episode repeating in my head. 😅 > > Thanks for sharing this with the world. > > Can you double-check that link, though? It

Re: [Freedos-devel] GW-BASIC random numbers

2020-11-01 Thread Jim Hall
On Sun, Nov 1, 2020 at 1:40 AM TK Chia wrote: > >> But this GW-BASIC seems to treat "TIMER" as a variable, so it's the > >> same as > >> typing: > >> RANDOMIZE 0 > >> or any uninitialized variable: (which are set to zero) > > I checked the release GW-BASIC code. I think it does kind of recognize

Re: [Freedos-devel] Open Watcom: Install, setup, compile and link your 'first' program

2020-11-01 Thread Mark Olesen
You can can compile and link in one step using "wcl" On Sun, Nov 1, 2020 at 6:39 AM Paul Dufresne via Freedos-devel wrote: > > Hi! It is said on: https://www.freedos.org/contribute/ that: > "Port FreeDOS utilities to OpenWatcom C and NASM—our preferred C compiler and > Assembler for FreeDOS." >

Re: [Freedos-devel] GW-BASIC random numbers

2020-11-01 Thread Steve Nickolas
On Sun, 1 Nov 2020, TK Chia wrote: Yes. At the same time, I hear that Michal Necasek (www.os2museum.com) has been working on a separate reconstruction --- involving proprietary code bits --- but has not published his results yet. I believe there are at least two separate possible sub-projects

[Freedos-devel] Re : Open Watcom: Install, setup, compile and link your 'first' program

2020-11-01 Thread Paul Dufresne via Freedos-devel
Ok, since my previous message I discover: wcl and wcl386: wcl:  C/C++ compile and link utility for 16-bit targets wcl386:  C/C++ compile and link utility for 32-bit targets taken from: https://flaterco.com/kb/ow.html So rather than compile, then link in previous post, you can just do: wcl test

[Freedos-devel] Open Watcom: Install, setup, compile and link your 'first' program

2020-11-01 Thread Paul Dufresne via Freedos-devel
Hi! It is said on: https://www.freedos.org/contribute/ that: "Port FreeDOS utilities to OpenWatcom C and NASM—our preferred C compiler and Assembler for FreeDOS." I kind of just discovered the OpenWatcom C,C++ compiler yesterday, and just was able to compile and link my first program this mor