News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

New GoAsm User

Started by Bracx, July 20, 2005, 08:27:53 PM

Previous topic - Next topic

Bracx

Hi all,

I am a new GoAsm user. Been learning and using it for about two weeks.

I have used Masm in the past but not since 2002. Been mostly using C
and infrequently C++, and Forth plus some other ones.  Thinking about
making the change to GoAsm for a Win32/64 assembler.

The GoAsm, GoLink, and GoRc are very nice tools! I really like the ease
of interfacing with libraries and dll files plus the syntax is similar
to masm's.

So far I have created four learning test applications. I'll post these
here since I have not found a lot of GoAsm code available online. The
more code and styles available to learn from the better. The first two
projects use the FunnelWeb literate programming tool. I use it sometimes
for documentation. I've included the generated source code, so you won't
need it.

The first project is a simple Win32 gui app with a window, a menu, a
about dialogbox, and icon. Probably the first project everyone starts
with after the Messagebox.

The second project is a simple Win32 console app that uses the pdcurses
dll for the output. I tested a curses window, then a sub-window, color,
and then key input.

The third project is a DirectX app which just creates and initializes a
full screen application, waits for a ESC key press, and then exits. No
pixel plotting, just testing how to interface with a COM object using
GoAsm.

The fourth project is a fun little test using GoAsm and GoLink with the
DPMI HX DOS Extender. It has built-in PE file format support. The app
clears the screen, prints some messages,waits for a key-press. Then
switches to a 640x480 8bit vesa graphics mode. (Vesa 16 and 32 bit modes
up to 1600x1200 are also available depending on your video card and monitor.)
Then switches back to text mode and exits. No pixel plotting in the vesa
mode, just text output.

I guess DirectX seems more complex and is harder to set up, but performs
the bank switching and offsetting for you when plotting. Plus provides a
lot more services like 3D routines, sound, input, and networking.

Whats next? I think I will expand the first project into a database
front-end using sqlite for the database. Should be able to use the sqlite
dll as easily as the curses dll or its library. I am also thinking of
expanding the second project into a ascii application for a change of pace.
Either a ascii roguelike like Moria or a ascii space game like Star
Fleet, time permitting. I think I'll also do some more research on using
DOS32 for the fun of it. 

Looking forward to learning from and hopefully contributing to the
community.


Regards,
Brian


[attachment deleted by admin]

jorgon

Nice work, Brian.
Thanks for offering your code to the community.
Welcome to the forum!
Yes, GoAsm for 64-bits is on its way ..
Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

Vortex

Hi Bracx,

Welcome to the forum :U

donkey

Hi Brian,

Welcome to the wonderful world of GoAsm  :U and to our little corner of the web. I am anxiously awaiting GoAsm 64 bit as well, it will finally give me the necessary push to reformat and install this copy of XP64 that is sitting on my desk  :toothy
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable