flat assembler
Message board for the users of flat assembler.
Index
> Main > Simple help for a noob : DOS16&DOS32 vs Win32&Win64 |
Author |
|
revolution 18 Dec 2008, 15:42
There are examples included with the fasm download. Are all of those not suitable to get you started?
From your description above it seems that you don't need any 32Bit code. All the DOS INT 0x21 functions are 16Bit only. There are many patch type programs already posted on the 'Net. Just search for DOS patch programs, although most would be written for MASM syntax but it can easily be converted to fasm. |
|||
18 Dec 2008, 15:42 |
|
dedndave 18 Dec 2008, 15:51
Thank you for your quick reply revolution.
Yes - I have a 16 bit version that works great. I wrote it in about 20 minutes - lol. But, it needs to run on Vista x64. I am familiar with MASM 5.1, but have never written anything for 32 bit. By "patch", do you mean there are programs that could convert my 16-bit program to 32-bit code? - Dave |
|||
18 Dec 2008, 15:51 |
|
revolution 18 Dec 2008, 15:58
By patch I mean a program that does what you describe in 8 steps in the first post.
Vista will run your DOS program in a DOS window. Although you will likely have trouble if your program needs to access long file names. If you want to convert it to 32Bit then you need to use the Windows API and not the INT 21's. |
|||
18 Dec 2008, 15:58 |
|
dedndave 18 Dec 2008, 16:01
Ok - thank you for your help.
I am off to learn about the API - lol. |
|||
18 Dec 2008, 16:01 |
|
edfed 18 Dec 2008, 17:33
you are not forced to learn every APIs.
just the needed ones. and off course, all the theory about API should be read. that's why i never use windows api. or just to play with a little code picked on this forum ( tks all) |
|||
18 Dec 2008, 17:33 |
|
dedndave 19 Dec 2008, 00:16
Thank you all for your help.
For now, I will release my patch in 16-bit form. Those who have Vista x64 will have to find a work-around for now. I knew I would have to learn this stuff some day - lol. I was hoping I would get old and die, first. - Dave |
|||
19 Dec 2008, 00:16 |
|
DOS386 26 Dec 2008, 08:11
dedndave wrote: But, it needs to run on Vista x64. Then you need Win32 or Win64 API, not INT $21 , and Windows subforum for further discussion. |
|||
26 Dec 2008, 08:11 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.