The MASM Forum

General => The Campus => Topic started by: i Z ! on February 07, 2015, 06:12:37 PM

Title: Greetz
Post by: i Z ! on February 07, 2015, 06:12:37 PM
Hello everyone.

I'm Izidor (izi) from Slovenia and I'm very happy to have found and joined this forum.
I see many people here have the same interests as me.
I have experience with Turbo Basic, Visual Basic (macros for AutoCAD, CorelDRAW), PowerBasic and I know the basics of assembly.. I'm interested in 'as fast as possible'
Lately I've been playing around with X11-basic and these days I've been testing masm32 and it works great.
Right now I'm assembling a program which will convert 24-bit BMPs to 16color ones, without changing colors (as for example MS-Paint does).

I found it astonishing when they started adding ASM commands to BASIC, but adding BASIC like commands to assembly - even better!

I hope we can share much knowledge.

Title: Re: Greetz
Post by: hutch-- on February 07, 2015, 06:34:47 PM
Hi Izi,

Welcome on board. Different folks play with both ends of the spectrum here, plenty of assembler, people who know their way around PowerBASIC and people who produce basic like notation in MASM.
Title: Re: Greetz
Post by: i Z ! on February 07, 2015, 07:10:09 PM
Oh.. Excuse my English:).. I meant 'BASIC-like commands' which are already in MASM, like print, fopen and invoke commands..
Title: Re: Greetz
Post by: jj2007 on February 07, 2015, 10:13:46 PM
Quote from: iZ! on February 07, 2015, 07:10:09 PM'BASIC-like commands' which are already in MASM, like print, fopen and invoke commands.

There are quite a lot in the standard Masm32 package (after all, Hutch is a POWERBASIC fan :P), plus about 200 commands in the MasmBasic (http://www.webalice.it/jj2006/MasmBasicQuickReference.htm) library. While the Masm32 routines are already very fast, MasmBasic is even harder to beat, speedwise. C is slow in comparison :bgrin:
Title: Re: Greetz
Post by: FORTRANS on February 08, 2015, 12:13:21 AM
Quote from: iZ! on February 07, 2015, 06:12:37 PM
Right now I'm assembling a program which will convert 24-bit BMPs to 16color ones, without changing colors (as for example MS-Paint does).

Hi,

   Welcome to the forum.

   That was a project of mine as well.  Converting 24-bit BMP's to
256 and 16 colors.  Trying to get an optimum palette.  Looks like
I started serious efforts in 2004.  Last worked on in 2011?  An
interesting subject.

Regards,

Steve N.
Title: Re: Greetz
Post by: Vortex on February 08, 2015, 12:45:32 AM
Hello izi,

Welcome to the Masm Forum.
Title: Re: Greetz
Post by: i Z ! on February 08, 2015, 01:29:19 AM
Quote from: jj2007 on February 07, 2015, 10:13:46 PM
There are quite a lot in the standard Masm32 package (after all, Hutch is a POWERBASIC fan :P), plus about 200 commands in the MasmBasic (http://www.webalice.it/jj2006/MasmBasicQuickReference.htm) library.

Wow, there's really plenty of useful commands. Thanks!
Title: Re: Greetz
Post by: dedndave on February 08, 2015, 03:42:04 AM
hi Izi - welcome to the forum   :t
Title: Re: Greetz
Post by: i Z ! on February 08, 2015, 04:16:30 AM
Quote from: FORTRANS on February 08, 2015, 12:13:21 AM

   That was a project of mine as well.  Converting 24-bit BMP's to
256 and 16 colors.  Trying to get an optimum palette.  Looks like
I started serious efforts in 2004.  Last worked on in 2011?  An
interesting subject.

Regards,

Steve N.

Hi Steve,
it took me years to finally understand the BMP structure, thanks to finding this simple explanation:
http://www.dragonwins.com/domains/getteched/bmp/bmpfileformat.htm




Title: Re: Greetz
Post by: Siekmanski on February 08, 2015, 06:43:15 PM
Hello iZ!,
Welcome to the forum.
Title: Re: Greetz
Post by: FORTRANS on February 09, 2015, 01:59:42 AM
Quote from: iZ! on February 08, 2015, 04:16:30 AM
Hi Steve,
it took me years to finally understand the BMP structure, thanks to finding this simple explanation:
http://www.dragonwins.com/domains/getteched/bmp/bmpfileformat.htm

Hi Izidor,

   Thanks for the link.  That has some information that I have not
seen before with a clear description.  I will have to give it a closer
look to see if I will need to update my code.

Regards,

Steve N.
Title: Re: Greetz
Post by: Gunther on February 09, 2015, 11:47:20 PM
A warm welcome for you, Izidor. Have fun.

Gunther