Re: [Freedos-user] Assembly Language and BASIC

2022-07-07 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 a

Re: [Freedos-user] Assembly Language and BASIC

2022-07-07 Thread dmccunney
On Thu, Jul 7, 2022 at 8:30 PM Daniel wrote: > > 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 that > allows mixing of assembly in with the language code? Not in the manner you are thinking of.

Re: [Freedos-user] Assembly Language and BASIC

2022-07-07 Thread Rugxulo
Hi, On Thu, Jul 7, 2022 at 7:29 PM Daniel wrote: > > A little info for those who uses FreeBasic (or even Power Basic 3.5) in > FreeDOS. In case noone knows this, it is possible to mix both Basic and > Assembly language in the same source code using both PB and FB using the > ‘ASM’ command. T

[Freedos-user] Assembly Language and BASIC

2022-07-07 Thread Daniel
A little info for those who uses FreeBasic (or even Power Basic 3.5) in FreeDOS. In case noone knows this, it is possible to mix both Basic and Assembly language in the same source code using both PB and FB using the ‘ASM’ command. This is something I have been doing in PowerBasic for some time.

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Rugxulo
Hi, On Thu, Jul 7, 2022 at 5:53 PM Aitor Santamaría wrote: > > On Fri, 8 Jul 2022 at 00:00, Rugxulo wrote: >> >> I can send you my local copy (or show you how to get it) of the 3.2.2 >> cross-compiler (i8086-msdos) that works under latest HX pre-releases. >> It has a built-in assembler and linke

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Aitor Santamaría
Hello, On Fri, 8 Jul 2022 at 00:00, Rugxulo wrote: > > > - Assembler - there is NASM, not compatible with MASM/WASM. I guess > there is still (J)WASM as > > alternative, as I assume that MASM/TASM haven't been neither open > sourced nor actively maintained. > > Strictly speaking, OpenWatcom

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Ralf Quint
On 7/7/2022 9:59 AM, C. Masloch wrote: On at 2022-07-07 09:39 -0700, Ralf Quint wrote: Similar with NASM, where for some weird reasons, they made the assembler case-sensitive, which I would consider utter nonsense (also among my griefs with C(++)). And it really bites you if you are trying to

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Rugxulo
Hi, On Thu, Jul 7, 2022 at 12:50 PM Aitor Santamaría wrote: > > I haven't been following much of what happens with the different assemblers > these days, but my idea is > that the same thing as with C or Pascal happens: as much as TASM or MASM are > nice products, there > are hardly open source

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Aitor Santamaría
Hello, I haven't been following much of what happens with the different assemblers these days, but my idea is that the same thing as with C or Pascal happens: as much as TASM or MASM are nice products, there are hardly open source actively maintained products that are compatible with them, and hen

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread C. Masloch
On at 2022-07-07 09:39 -0700, Ralf Quint wrote: Similar with NASM, where for some weird reasons, they made the assembler case-sensitive, which I would consider utter nonsense (also among my griefs with C(++)). And it really bites you if you are trying to link assembler modules with other progra

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Ralf Quint
On 7/2/2022 10:37 AM, Travis Siegel wrote: Masm, Tasm, and others all have their own syntax which confuses me more than helping. Well, that is not quite correct. And it would be obvious if you did x86 assembler in the early '80s. MASM (and basically TASM (as in Borland Turbo Assembler)) is

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Bret Johnson
> What i don't like about A86 is that allows you to do stuff that is > actually "forbidden". > > For instance, from what i remember, A86 allows you to do something > like: > > MOV ES, B800h > > This is absolutely not supported by the CPU, and you need to use a > general purpose register to move a v