Re: [Freedos-devel] Where to start and continue?

2023-01-10 Thread Knedlik
it supports legacy BIOS. And the secondary I’m on right now is a MacBook with an M1 CPU, so even if I had bootcamp, that option wouldn’t be possible. -Knedlik ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https

[Freedos-devel] Linking asm with C

2023-01-12 Thread Knedlik
Hello, I’m currently trying to make a function in a separate assembly file, but I’m having problems linking it with a C program. Are there any guides that show how to do this? Thanks in advance, -Knedlik ___ Freedos-devel mailing list Freedos-devel

Re: [Freedos-devel] Linking asm with C

2023-01-13 Thread Knedlik
I think I’ll stick to inline assembly. Now onto solving my divide by zero problem which I managed to create somehow. Help there would be appreciated as well, even if getting a bit off topic. Mainly knowledge on how to debug on dos will be appreciated.

Re: [Freedos-devel] Linking asm with C

2023-01-13 Thread Knedlik
To be fair, I myself am not sure about this. It’s the default options, so I would assume the watcom linker and whatever memory model open watcom is using. ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net

Re: [Freedos-devel] Linking asm with C

2023-01-13 Thread Knedlik
Okay, this is just weird. I can’t for the love of god figure out why this is throwing the divide by zero interrupt. void setMCGA() { _asm { mov al, 0x13 int 0x10 ret } } void setText() { _asm { mov al, 0x03 int 0x10 ret } } void

[Freedos-devel] Where to start and continue?

2023-01-09 Thread Knedlik
possible to have sprites/spritesheets as files. Any help with places to learn this stuff will be appreciated. Thanks in advance, -Knedlik ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo

Re: [Freedos-devel] Where to start and continue?

2023-01-09 Thread Knedlik
Thanks a lot Louis, that is definitely something to look at. I suppose the general way to learn stuff in this world is to look at the source code of other applications? -Knedlik ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https

Re: [Freedos-devel] Where to start and continue?

2023-01-09 Thread Knedlik
explore the link you sent. -Knedlik ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel

Re: [Freedos-devel] Linking asm with C

2023-01-13 Thread Knedlik
To be honest, I’m just following a tutorial that said it’s better to do it in asm - but it’s in Pascal, so I’m translating it into C. ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net

Re: [Freedos-devel] Linking asm with C

2023-01-13 Thread Knedlik
I’m trying to learn graphics programming in DOS. It’s really hard to get resources on this topic... ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel

Re: [Freedos-devel]  Re: Where to start and continue?

2023-01-15 Thread Knedlik
the base stuff with more bits (a bit theoretical, but would a 64-bit extender be possible?) and a GUI desktop, but where do I learn this stuff? What should I learn as a prerequisite? -Knedlik ___ Freedos-devel mailing list Freedos-devel