News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Recent posts

#1
Hardware & Software Corner / Re: Languages
Last post by stoo23 - Today at 04:39:40 PM
Via a link from the above pages, I stumbled on this:
Zig

Made me instantly think of 'NoCforMe'  :wink2:  :smiley:  as it's Not C and has No Macros !!  :biggrin:  :cool:

The article, suggests;
QuoteZig is an effort to create a general-purpose programming language with program-level memory controls that outperforms C, while offering a more powerful and less error-prone syntax.
The goal is nothing less than supplanting C as the baseline language of the programming ecosystem.
Because C is ubiquitous (i.e., the most common component in systems and devices everywhere), success for Zig could mean widespread improvements in performance and stability.
That's something we should all hope for.
Plus, Zig is a good, old-fashioned grass-roots project with a huge ambition and an open-source ethos.
:smiley:
#4
16 bit DOS Programming / Re: Bouncing Square Clipping
Last post by NoCforMe - Today at 10:27:55 AM
Quote from: tda0626 on Today at 07:51:07 AMThanks, Steve. I will have to read that book.
Here's the link to that chapter (Bit-Plane Animation).
#5
The Campus / Re: COM, create rule in Firewa...
Last post by TimoVJL - Today at 07:59:31 AM
Is it time to make standard way to handle COM objects.
After that, TLB to INC converter is possible to make finally.
In this site are at least three persons, who can do that.
#6
16 bit DOS Programming / Re: Bouncing Square Clipping
Last post by tda0626 - Today at 07:51:07 AM
Quote from: NoCforMe on Today at 05:27:38 AM
Quote from: tda0626 on Today at 04:11:48 AMWhen you allocate memory with DOS function AH=48, you specify the number of pages of memory needed as 1000h. Why did you specify that and not 4000 decimal, which is 64k/16?
1000h = 4096 decimal, which is "4K"
64K (65,536) / 16 = 4096, not 4000

We like to use hex numbers here.

But 320x200x1 byte is 64000 bytes /16 page = 4000 or am I missing something here?

Quote from: FORTRANS on Today at 07:27:56 AMHi,

Quote from: tda0626 on Today at 04:46:18 AMDo you have a good resource that you can point me to about sprite manipulation?

   If you were following my comments in another thread about Wu
antialiased lines, there was an animation in a chapter of the
book I pointed out.

Abrash's Graphic Programming Black Book

;LISTING 43.1 L43-1.ASM
; Program to demonstrate bit-plane animation. Performs
; flicker-free animation with image transparency and
; image precedence across four distinct planes, with
; 13 32x32 images kept in motion at once.
; Bit-Plane Animation 801
; Set to higher values to slow down on faster computers.
; 0 is fine for a PC. 500 is a reasonable setting for an AT.
; Slowing animation further allows a good look at
; transparency and the lack of flicker and color effects
; when images cross.

Regards,

Steve N.

Thanks, Steve. I will have to read that book.

Tim
#7
16 bit DOS Programming / Re: Bouncing Square Clipping
Last post by FORTRANS - Today at 07:27:56 AM
Hi,

Quote from: tda0626 on Today at 04:46:18 AMDo you have a good resource that you can point me to about sprite manipulation?

   If you were following my comments in another thread about Wu
antialiased lines, there was an animation in a chapter of the
book I pointed out.

Abrash's Graphic Programming Black Book

;LISTING 43.1 L43-1.ASM
; Program to demonstrate bit-plane animation. Performs
; flicker-free animation with image transparency and
; image precedence across four distinct planes, with
; 13 32x32 images kept in motion at once.
; Bit-Plane Animation 801
; Set to higher values to slow down on faster computers.
; 0 is fine for a PC. 500 is a reasonable setting for an AT.
; Slowing animation further allows a good look at
; transparency and the lack of flicker and color effects
; when images cross.

Regards,

Steve N.
#8
The Campus / Re: COM, create rule in Firewa...
Last post by jj2007 - Today at 06:25:40 AM
Quote from: NoCforMe on Today at 05:49:40 AMthe only instance of coinvoke (the macro) is in JJ's MasmBasic stuff

I've seen several examples over time: forum search finds 64 posts.

CoInvoke has some undocumented extra bells and whistles (mainly for debugging, I use it a lot for my own sources), but others also work fine. The point is that they make a big fuss about COM being incredibly complicated, but it isn't.
#9
The Campus / Re: COM, create rule in Firewa...
Last post by Vortex - Today at 06:23:06 AM
The Masm32 package does not provide a coinvoke macro.
#10
The Campus / Re: COM, create rule in Firewa...
Last post by NoCforMe - Today at 06:19:31 AM
Is this (or equivalent) anywhere in the MASM32 package?