Author Topic: historical win16 example?  (Read 3979 times)

Offline watlers world

  • Jr. Member
  • *
  • Posts: 3
historical win16 example?
« on: April 17, 2012, 12:20:56 PM »
I see places that say nasm can make win16 apps
and I see a linker alink that suggests this also
is or was this ever correct?

does a nasm win16 example exsist?


curiosity...

Offline Keith Kanios

  • Full Member
  • **
  • Posts: 383
  • Country: us
    • Personal Homepage
Re: historical win16 example?
« Reply #1 on: April 17, 2012, 10:53:55 PM »
Japheth has a a simple 16-bit Windows "hello world" example -- just needs translating from JWasm (MASM-like syntax) to NASM, if desired.

Offline watlers world

  • Jr. Member
  • *
  • Posts: 3
Re: historical win16 example?
« Reply #2 on: April 18, 2012, 12:35:48 PM »
thanks for the help

when searching I did find that example
but I have just started working with nasm

would the translation be somthing that a beginner in nasm could do?

I would like to see a win16 example that nasm can use

Offline Keith Kanios

  • Full Member
  • **
  • Posts: 383
  • Country: us
    • Personal Homepage
Re: historical win16 example?
« Reply #3 on: April 18, 2012, 11:52:55 PM »
would the translation be somthing that a beginner in nasm could do?

If that implies a beginner at assembly language and programming in general, probably not.

There are many things that MASM and JWasm do implicitly, e.g. handling the PASCAL calling convention, that NASM requires you to do explicitly.

My question for you would be, why target Win16 instead of Win32?

Offline watlers world

  • Jr. Member
  • *
  • Posts: 3
Re: historical win16 example?
« Reply #4 on: April 19, 2012, 12:03:38 PM »
so far I've found that assembly is not to difficult
but...
as you said figuring out an exact assembler can be

there are some excelent nasm win32 examples

in the history of nasm
was there ever a win16 example?

why both win32 and win16?
does nasm support both?

even when win64 is current and win16 is long gone
I'm interested in all of history



Offline alexfru

  • Jr. Member
  • *
  • Posts: 17
Re: historical win16 example?
« Reply #5 on: November 06, 2017, 12:15:42 PM »
Here's a simple Win16 app for NASM, very similar to the one mentioned above.