Re: [Freedos-user] aefdisk/masterbooter open sourced

2018-12-29 Thread TK Chia
Hello Geraldo, First of all, hope you all had a great christmas time! This is interesting. It seems the aefdisk sources are using some strange syntax extensions which I have not seen before --- perhaps these are supported by certain versions of tasm? Dunno :( But I opened a ticket for Nagy

Re: [Freedos-user] aefdisk/masterbooter open sourced

2018-12-20 Thread TK Chia
Hello Jerome, hello Geraldo, Seems to require borland c/tasm Unfortunately, aefdisk won’t compile under TASM 4.1. Tried. But, It throws a couple errors and warnings. This is interesting. It seems the aefdisk sources are using some strange syntax extensions which I have not seen before ---

Re: [Freedos-user] Preloading text files in C

2019-01-09 Thread TK Chia
Hello Nils, hello Ken, ptr_array[0] = malloc(size_of_textfile); copy_to(file0, ptr_array[0]; ptr_array[1] = malloc(size_of_textfile); copy_to(file1, ptr_array[1]; ... Can I still use fgets() on these pointers once the file has been loaded there? No, fgets wants a FILE *, which is a pointer to

Re: [Freedos-user] Installing with QEMU

2019-06-15 Thread TK Chia
Hello Joseph Norton, I’m trying to install FreeDOS with QEMU, and I get as far as formatting the hd, then, the installation says it can’t find the package files. I used the example in the Using FreeDOS Ebook, but, I did have to create the “freedos.img” file, which was not covered. Did you

Re: [Freedos-user] PXE freedos and img file

2019-08-22 Thread TK Chia
Hello all, But i can't figure out how to add my .exe files to this FD12LITE.img file. >> Any ideas ?> On a Mac, you can just mount that img file by double clicking it in finder.> On Linux, you can mount it through the loop back device.> On Windows, you may require additional software to mount

Re: [Freedos-user] [release] Dr. Mind v1.0

2019-09-01 Thread TK Chia
Hello Mateusz, http://drmind.sourceforge.net Well, all I can say for now is, it works and is really cool. :-) Thank you! -- https://github.com/tkchia ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net

Re: [Freedos-user] Quick FreeDOS 1.3 Live CD Poll

2019-11-14 Thread TK Chia
Hello Jerome, Yes. Prevent access to internal hard drive. No. Allow access to internal hard drive. Neither. Instead, include in boot menu to select either. People have been getting used to non-HD boot media enabling repairs, which typically means changing something on the HD. Disabling that

Re: [Freedos-user] Quick FreeDOS 1.3 Live CD Poll

2019-11-14 Thread TK Chia
Hello Jerome, Actually I am also curious to know what mechanism you will be using to limit access to internal hard drives. (I suppose it should be possible to use LASTDRIVE= in a config.sys file to make the hard drives invisible from DOS's view. But the hard drives will most likely still show

Re: [Freedos-user] Program installation from multiple floppy disk images

2019-11-06 Thread TK Chia
Hello bob olbrich, DOSBox has the imgmount command for this type of installation. Have I missed an equivalent utility? One thing you can do in QEMU is to mount an initial floppy image as A: or B:, then use the QEMU Monitor to "remove" the image and "insert" another image in the same "drive",

Re: [Freedos-user] Tinyasm vs. NASM

2019-12-02 Thread TK Chia
Hello Rugxulo, * http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/asm/nasm/0.98.39/8086host/ Though I wonder why I wasted so much time since it's inferior to the 8086 OpenWatcom build. I guess I still appreciate Turbo C++ for what it is. I really need to take a look at why it's

Re: [Freedos-user] Freedos 1.2 move, copy & xcopy

2019-11-25 Thread TK Chia
Hello Ralf Quint, Will try to take a closer look a bit later this evening. One problem here is what I mentioned a lot of times in the past but always got scoffed at is that these are highly technical apps but do not have any proper technical documentation. And they are typical examples of

Re: [Freedos-user] Tinyasm vs. NASM

2019-10-10 Thread TK Chia
Hello Rugxulo, BTW, what is the proper way to build Tinyasm with IA16-GCC? Is there a specific set of switches you use? Or have you not tested (much) with it yet? The bare minimum is to enable the "small" memory model (separate text and data segments), like so: ia16-elf-gcc -mcmodel=small

Re: [Freedos-user] Tinyasm vs. NASM

2019-10-11 Thread TK Chia
Hello Rugxulo, ia16-elf-gcc -mcmodel=small -Os -mregparmcall -mnewlib-nano-stdio \ tinyasm.c ins.c -o tinyasm.exe What is the resulting size of the .EXE with your build? (He said it uses at least 128k RAM, right?) At least for development and Using the above command line, the

Re: [Freedos-user] A neat find on /r/asm

2019-10-04 Thread TK Chia
Hello Random Liegh, https://github.com/nanochess/tinyasm/ Brand spanking new, targets the 8088. It can be built with desmet-c, but there's a precompiled binary included in the github repository. Thank you for the news. I have found some issues with the assembler --- I will be submitting

Re: [Freedos-user] Tinyasm vs. NASM

2019-10-12 Thread TK Chia
Hello Rugxulo, I for one would like to know how you wrote the makefiles for nasm --- I have not managed to get a 16-bit build working using Watcom. Okay, I think I've done enough fiddling to be worth sharing. So here it is (lacking any better place for us): *

Re: [Freedos-user] Tinyasm vs. NASM

2019-10-12 Thread TK Chia
Hello Rugxulo, Using the above command line, the resulting size of tinyasm.exe is 27,200 bytes. With the DJGPP-hosted tools, I'm getting 45 kb. Is that correct? Or do you have newer libs? Sure, after UPX, it's about 27 kb. Either way, quite nice! Ah yes, I have updated the gcc-ia16

Re: [Freedos-user] qt and DOs?

2020-01-25 Thread TK Chia
Hello Karen Lewellen, >> But meanwhile, forget Calibre under DOS. If you really want to use >> it, run Linux. > the question is, if a compile of Calibre is possible for dos...you know > the focus of this list? smiles. > The qt idea came from a member of the calibre forum at mobileread.

Re: [Freedos-user] "Test." -- does that come from FreeDOS?

2020-01-08 Thread TK Chia
Hello Louis Santillan, hello Jack Browning, seems to be fully functional, i.e., all the builtin commands appear to work normally. When I go to run the BIOS updater by typing the .exe's file name and hitting return, however, the only thing that happens is that the word "Test."

Re: [Freedos-user] Microsoft Open-Sources GW-BASIC

2020-05-22 Thread TK Chia
Hello Ralf, But still, nobody should get their knickers in a twist just yet, as it is an older version of GW-BASIC from 1983, while the latest version (3.23) is from 1988. And the license kind of disallows to re-use the code from the files, similar to that of the DOS 1.x/2.0 source they

Re: [Freedos-user] Dosemu on its own - does it exist?

2020-09-03 Thread TK Chia
Hello ZB, Actually I was hoping it could be "thinner layer"... but, as I wrote, only know I'm trying to find out, how exactly "virtual x86 mode" works Basically --- as Eric Auer sort of explained --- a "virtual 8086" is a special kind of unprivileged protected-mode task, that runs under a

Re: [Freedos-user] Floppy fetish search

2020-10-08 Thread TK Chia
Hello Eric, In addition, I have found a small number of floppy disks in CP/M format, which are very likely readable using some of the drives here, but I do not know HOW to read them, software wise. I cannot even use dd to make a diskimage, probably different sector sizes? In case it helps: I

Re: [Freedos-user] Old BIOS issue

2020-10-17 Thread TK Chia
Hello ZB, hello Eric, I found some basic information here: https://www.daqarta.com/y2kure.htm (I mean "BACKGROUND" paragraph), but when possible I'd like simply to modify BIOS and resolve the problem "once for always" It basically says there are many ways in which hardware or software could

Re: [Freedos-user] Open source thoughts about my DOS stuff

2020-08-27 Thread TK Chia
Hello Eric, My impression of git compared to svn is that the use of random hex numbers instead of sequential version numbers makes it very hard for me to get an overview what happened when in projects seen on the website, am I missing something? [...] > Having no SVN, CVS, GIT, HG for DOS

Re: [Freedos-user] Microsoft Open-Sources GW-BASIC

2020-05-31 Thread TK Chia
Hello Jim Hall, Looks like this person is trying to get the source to build. You can follow or contribute here: https://github.com/dspinellis/GW-BASIC On Sat, May 23, 2020, 2:29 PM Random Liegh via Freedos-user < freedos-user@lists.sourceforge.net> wrote: I tried it with some old, old

Re: [Freedos-user] Microsoft Open-Sources GW-BASIC

2020-06-02 Thread TK Chia
Hello Rugxulo, hello Dennis, >> What exactly does "semi-working" mean? It seems like graphics commands >> aren't supported? That's no biggie (IMHO) as long as it can do simple >> file I/O. Well, direct commands seem to be working quite OK. But yes, large chunks of functionality --- graphics,

Re: [Freedos-user] LFN Support in DOS4GW Environment

2020-08-04 Thread TK Chia
Hello Anand, I wrote a small program in C to create a file with a long file name as follows. void main(void) { FILE *fptr = fopen("e:\\aerosystems.txt", "w"); fprintf(fptr, "Genesys\n"); fclose(fptr); } // END main() And then I compiled using the Watcom compiler: It

Re: [Freedos-user] Microsoft Open-Sources GW-BASIC

2020-06-03 Thread TK Chia
Hello Dennis, As for the AWK portion, I have tested my script for munging the GW-BASIC source files with both GNU awk (gawk) and mawk. Were any changes required to your original script to get it to work as expected in gawk *and* mawk? To my surprise, no, not at all. :-) Thank you! --

Re: [Freedos-user] Make sure your opinion is heard

2020-12-04 Thread TK Chia
Hello Jerome, Some random additional thoughts, I guess some times there was a little confusion with the 1.2 release over a FULL install. Maybe a good way would be to call a "FULL minus EXTRA" install by a less confusing name? E.g. perhaps call it a "RICH" install or something along those

Re: [Freedos-user] Casio Algebra 2.0 can Freedos be installed?

2020-12-22 Thread TK Chia
Hello Bob, hello Eric, >> This is supposed to have a V30 processor and Rom-Dos. Haven't had time >> to check it out thoroughly yet. >> I should have asked if it can be installed by a clutz. >> Specs on Wikipedia https://en.wikipedia.org/wiki/Casio_Algebra_FX_Series Hi! Interesting question.

Re: [Freedos-user] DOS/16M (was: FreeDOS 1.2 installed on iMac (2011) - success but there are issues)

2020-11-13 Thread TK Chia
Hello Hollowone PL, hello Eric Auer, DOS/16M error: [26] 8042 timeout DOS/16M error: [26] 8042 timeout ... The 8042 is the keyboard controller. You are using the rEFInd boot manager on iMac, without Bootcamp. I assume that means you had to load some CSM, either provided by Apple or by rEFInd,

Re: [Freedos-user] DOS/16M (was: FreeDOS 1.2 installed on iMac (2011) - success but there are issues)

2020-11-14 Thread TK Chia
Hello Ralf Quint, I am not sure if you guys all missed a previous post where I said I found a reference that there are issues with some SMM BIOS implementations, providing legacy USB support (for keyboard and mice) and software that is trying to switch in "long mode" (which also might be used

Re: [Freedos-user] DOS/16M (was: FreeDOS 1.2 installed on iMac (2011) - success but there are issues)

2020-11-12 Thread TK Chia
Hello Hollowone PL, With this I have few starter question as a user: - DOS16/m is a 16bit protected mode extender. Does it mean that FreeDOS runs in 16bit protected mode from the command line or perhaps some driver is interfering or rather the iMac I use has hardware that may cause some obvious

Re: [Freedos-user] Which C compiler for targeting DOS?

2021-01-24 Thread TK Chia
Hello Adam, * I would like to be able to produce a native DOS real-mode .exe file that will run in an emulator like DOSBox and on a real 8086 PC running DOS (i.e. without protected mode or extended memory). It looks like there is an "ia16" port of GCC but this seems to produce

Re: [Freedos-user] CMDLINE

2021-05-30 Thread TK Chia
Hello Eric, Which command.com version and which version of hexdump are you using? As far as I remember, neither MS DOS nor FreeDOS command.com use the CMDLINE mechanism, maybe you mean the shell (terminal) window of Microsoft Windows? Git logs suggest that FreeDOS's FreeCOM has included

Re: [Freedos-user] Crynwr package contains PCNTPK.COM

2021-06-06 Thread TK Chia
Hello Louis, I don't get what the issue with PCNTPK.COM packet driver is? Per the amdpd.zip file at http://crynwr.com/drivers/00index.html , it is copyright Russell Nelson 1990 w/a GPLv1 license in 1990 and copyright AMD 1993 w/a pseudo Public Domain-ish license (PCNTPK.ASM). While not

Re: [Freedos-user] DBCS question about dosbox-x

2021-07-02 Thread TK Chia
Hello Eric Auer, Hi! I read on https://dosbox-x.com/release-0.83.15.html that DOSBOX-X now supports DBCS for CJK (Chinese, Japanese and Korean) languages. Do you happen to know how they do that? Would it be feasible to port their changes into the I looked a bit at the Git commits for dosbox-x

Re: [Freedos-user] Why I use DOS a.k.a. FreeDOS for Dummies?

2021-04-25 Thread TK Chia
Hello Ralf, Still an excellent tool I consider TROFF, now GROFF, for Unix/Linux -which also exists for Windows, appeared in 1990 (Version 0.3.1) by James Clark) coming from  “a text-formatting program called RUNOFF, which was written by Jerome H. Saltzer for MIT's CTSS operating system in the

Re: [Freedos-user] Forwarding and commenting a FreeDOS 1.3rc3 critical review

2021-04-29 Thread TK Chia
Hello Johnpaul Humphrey, All the things he finds objectionable I would have called FEATURES. He would do better on Ubuntu. Me, I am not so sure. That was from Laaca --- a developer of DOS programs himself. He also mentions that he had been "using DOS for 27 years". So if he says that

Re: [Freedos-user] Forwarding and commenting a FreeDOS 1.3rc3 critical review

2021-04-29 Thread TK Chia
Hello Eric, Finally, the reporter (the whole post has a quite harsh tone) complains that the default install will install FAR too few useful apps and that the package management groups are badly sorted (e.g. no subcategories for utilities) and that there should be no base64 tool in "base"...

Re: [Freedos-user] hardware recommendations

2021-04-27 Thread TK Chia
Hello Felix, What this reads is if it has UEFI, it has no basic input/output system. That makes no sense. Without *a* basic input/output system, by whatever Well, in practice, when we talk about "BIOS" compatibility, we are really referring to compatibility with "the" BIOS --- as in, the

Re: [Freedos-user] Forwarding and commenting a FreeDOS 1.3rc3 critical review

2021-04-30 Thread TK Chia
Hello Eric, For comparison, at the moment, DOG (shell, 1 file per command), Arachne (browser), Emacs, FreeBASIC, GhostScript, OpenXP, Lynx browser, Pacific C, Pegasus Mail, SETEDIT and various games are better off in their own directories, while several 100 single executable files can nicely

Re: [Freedos-user] FSF

2021-03-30 Thread TK Chia
Hello Rugxulo, Honestly, he's been known as "very eccentric" for many years. I don't think anybody is surprised. He has opinions and voices them (whether unpopular or not). You know what they say about opinions, right? Everyone has one. Well, I happen to lurk around on the GCC mailing list.

Re: [Freedos-user] FSF

2021-04-01 Thread TK Chia
Hello Rugxulo, but that doesn't mean he should be heavily punished. Just because someone doesn't agree with him, even if he speaks egregious words, doesn't mean he should be destroyed. I reject that kind of irrational anger (especially You cannot have it both ways. Either opinions are

Re: [Freedos-user] COWGOL programming language

2021-03-17 Thread TK Chia
Hello Bruce, hello Dennis, No recursion and no floating point will be blockers users need to keep in mind, but being able to build for 8bit micros like the 8080, Z-80, and 6502 is a definite plus.. The Cowgol page (http://cowlark.com/cowgol/index.html) says that the lack of recursion is

Re: [Freedos-user] Latex / long filenames

2021-03-20 Thread TK Chia
Hello Tomas, The "dir" command only shows 8+3, and when I manually rename using "move", the name gets truncated (rather than getting the tilde plus number). Perhaps try doing the renaming using the Bash shell that should come with DJGPP? DJGPP Bash should support long file names. I think

Re: [Freedos-user] Invalid opcode - where do I even begin?

2021-03-05 Thread TK Chia
Hello Michal, hello Louis, I've run some software on Pentium 3 Tualatin S on FreeDOS and it's getting an invalid opcode error. The error precisely says "Invalid opcode at ..." where ... is a bunch of 16 bit variables. Saying "at" is really misleading and doesn't make any sense, since such a

Re: [Freedos-user] FSF?!

2021-04-07 Thread TK Chia
Hello Adam, I've never really understood why people complain about the GPL being viral - perhaps you can enlighten me with another viewpoint. I only ever see it from the point of view where someone is very happy to make use of code another has provided for free, but they don't want to share

Re: [Freedos-user] Why I use DOS a.k.a. FreeDOS for Dummies?

2021-04-19 Thread TK Chia
Hello Eric, hello Thomas, PS: Thanks for mentioning https://kolibrios.org/de/download which supports USB (mouse, keyboard, trackpad, storage) in only 1.5 MB. Does it also support your printer and other USB devices? It does This is indeed interesting --- an OS that is fast and light, and knows

Re: [Freedos-user] Why I use DOS a.k.a. FreeDOS for Dummies?

2021-04-19 Thread TK Chia
Hello Liam, This is indeed interesting --- an OS that is fast and light, and knows at least a few things about modern (21st-century) hardware and software standards. There are a _lot_ of choices out there that are not as bloated as modern Linux tends to be, and not super-simple and limited

Re: [Freedos-user] Why do you use DOS

2021-04-16 Thread TK Chia
Hello Tom, JMP 5 terminates a program Just a minor nitpick: that will be `jmp 0' (with cs = PSP). `call 5' performs a syscall with the syscall number in the cl register. (Also, I recall --- if I remember correctly --- the actual CP/M-86 actually exposes a different `int 0xe0'

Re: [Freedos-user] Why do you use DOS

2021-04-16 Thread TK Chia
Hello Liam, that's the way other programs talk to the OS; copying it was and is considered fair game. Is it? By whom? The whole discussion around the recent Google v. Oracle court case? If anything, it should show clearly that there is _nothing_ _nefarious_ whatsoever in writing a system

Re: [Freedos-user] Why do you use DOS

2021-04-17 Thread TK Chia
Hello Ralf, On a slightly related note: https://www.pcjs.org/blog/2018/05/27/ . :-) Well, that article has a whole lot of nothing about "CALL 5". Read on carefully. :-) There is a VM of PC-DOS 2.0 which includes a utility that was part of Microsoft Word ... and the utility uses `call 5'.

Re: [Freedos-user] Why do you use DOS

2021-04-17 Thread TK Chia
Hello Ralf, The "CALL 5" equivalent was never properly implemented, I guess Peterson ran into problems with the differences of the 8080 and 8086 CPUs. [...] And you will have a hard time to find any serious documentation on that CALL 5 stuff for any version of DOS. And I would be surprised

Re: [Freedos-user] GNU General Public License...

2021-04-08 Thread TK Chia
Hello Michael, The license MUST be viral. Folks, anyone who complains about it being viral doesn't understand it at all. Google is a monopoly. Google Sorry, but the arguments you make do not even begin to make any sense at all. You are basically just stringing a lot of baseless conspiracy

Re: [Freedos-user] Why do you use DOS

2021-04-17 Thread TK Chia
Hello Liam, All right, I have to concede that point. Thank you --- glad we could agree. :-) I still maintain there is a bit of a difference between copying a rival's API in order to launch a competing product, and copying a rival's API in order to do something completely different with it.

Re: [Freedos-user] Why do you use DOS

2021-04-17 Thread TK Chia
Hello Liam, hello Tom, And according to the mainstream account (?), CP/M-86 would not be released until late 1981.  QDOS was released earlier, in mid-1980 (https://archive.org/stream/byte-magazine-1980-08/1980_08_BYTE_05-08_The_Forth_Language#page/n173/mode/2up). QDOS's system call interface

Re: [Freedos-user] Re : DBCS question about dosbox-x

2021-12-06 Thread TK Chia
Hello Eric, hello Paul, Hi! I read on https://dosbox-x.com/release-0.83.15.html that DOSBOX-X now supports DBCS for CJK (Chinese, Japanese and Korean) languages. Do you happen to know how they do that? Well, more info about mentioned DOS/V is at: https://en.wikipedia.org/wiki/DOS/V I

Re: [Freedos-user] Video complains that DOS should not be maintained

2021-12-25 Thread TK Chia
Hello Travis, linux box setup and transferred the domain to that.  The nice thing about using dos for your networking, (which someone else said way more eloquently than I could, paraphrasing here), is that since dos doesn't have a native tcp/ip stack, if the app dies, so does the tcp/ip

Re: [Freedos-user] How to build FreeCom on open watcom

2021-12-05 Thread TK Chia
Good day saito yutaka, I modified config.mak as follow. Other settings are same as config.std[1]. --- ## Memory model of FreeCOM !if $(DEBUG)0 == 10 SHELL_MMODEL=l DEBUG=-DDEBUG !else SHELL_MMODEL=l DEBUG=-UDEBUG -DNDEBUG !endif SHELL_MMODEL_COMP=$(SHELL_MMODEL) Unfortunately, in general,

Re: [Freedos-user] BM cannot boot FD 1.2

2022-01-09 Thread TK Chia
Hello Ray, What about the KERNEL location in the tree?  Prior to 1.2 it was in the root, now it is in FDOS\BIN.  If I run SYS C: from a 1.1 Floppy, then copy 1.2 KRNEL386, as KERNEL, over the 1.1 KERNEL, should that leave me with the 1.2 kernel where it belongs on the drive? Huh? I would

Re: [Freedos-user] how to get dosemu working under ubuntu installed in wsl

2022-03-14 Thread TK Chia
Hello Travis, Ok, odd question, (lots of emulation), but I've got ubuntu 20.04 running under win10, using wsl.  I can't seem to get dosemu installed under that version of ubuntu (though it works fine under a real ubuntu system I have).  When I try to install dosemu under the ubuntu 20.04

Re: [Freedos-user] Interesting comment by Walter Bright

2022-01-29 Thread TK Chia
Hello Louis, hello Mercury 13, >> He claims "The DMC++ compiler is far and away the best C++ compiler on DOS." >> https://news.ycombinator.com/item?id=30127615 Interesting he doesn't mention that Digital Mars is his own company. "Digital Mars C/C++ is Boost licensed." and "DMC still gets

Re: [Freedos-user] Assembly Language and BASIC

2022-07-08 Thread TK Chia
Hello Daniel, I am unfamiliar woththe C languages, but does it also allow one to mix both assembly in with the C source code? Are there any other languages In short, yes, most C compilers allow you to write "in-line" assembly inside a C language source file. However, note that this is not

Re: [Freedos-user] Assembly Language and BASIC

2022-07-11 Thread TK Chia
Hello Liam Proven, [re Pascal, Modula, etc.] You [Rugxulo] also said: >> (So it was too many competing languages, honestly.)> Also not really fair.> I mean, arguably, yes, but there are also dozens of variants of C.> There's original C, K C, Plan 9 C, ANSI C, C 99, C11, C17 and soon C23.>