Jump to content
IGNORED

How to use IntyColor?


Recommended Posts

OK, I'm putting my n00b hat on (or is it a helmet?). I have a BMP file and I want to display it in my IntyBASIC program. Here's what I expect to happen:

  1. I run the image through IntyColor to convert it to DATA statements
  2. I include the image data file in my main program
  3. I call some fancy command in IntyBASIC with the label of my data
  4. I specify the screen position where I want my graphic displayed
  5. I run the program and get my cool looking graphic on the screen
  6. ???
  7. Profit

Here's what actually happen:

  • I run the image through IntyColor to convert it to data statements
  • IntyColor gives me a file full of DECLEs that I can call from Assembly Language
  • I throw my arms up in confusion and frustration
  • I go get a beer and sit down to watch re-runs of old shows in Netflix

*whimper* Help me! *whimper* :_(

Link to comment
Share on other sites

IntyColor generates files for assembler and basic. If you add the -b there is also a little display stub. You might want to use the "-n" command line flag to nuke that.

 

I understand, but the usage help does not describe the "-b" flag. Without the "-b" flag, all other flags do absolutely nothing, and it always renders in assembly. The moment I added "-b" it started working as described.

 

Perhaps that flag should be mentioned in the usage. ;)

 

-dZ.

Link to comment
Share on other sites

Perhaps that flag should be mentioned in the usage. ;)

You see it in the usage if you type intycolor with no parameters :-

 

Usage:

    intycolor image.bmp image.asm [label]
        Creates image for use with assembler code

    intycolor -b [-n] [-i] image.bmp image.bas [label]
        Creates image for use with IntyBASIC code
But it doesn't have its own description in the text below those lines.
Link to comment
Share on other sites

Oh crap. I didn't see the two usage lines, only the first one. I guess I was expecting that "-b" to be at the bottom (where I say it should be).

 

I think this would have been more clear:

Usage:

    intycolor image.bmp image.asm [label]
        Creates image for use with assembler code

    intycolor -b [-n] [-p] [-i] image.bmp image.bas [label]
        
    -b    Creates image for use with IntyBASIC code

    -n    Removes stub in IntyBASIC code
    -p    Uses PRINT in IntyBASIC code
    -o20  Starts offset for cards in 20 (0-63 is valid)
    -i    Generates BITMAP statements instead of DATA
Link to comment
Share on other sites

That was very easy. I just cleaned up the image a bit in MS Paint, then ran IntyColor. I only had to add the "include" directive in my empty file, et voilá!

Yep! Its a good tool for creating title pages for games. An advanced tool like the A8 scene's Quantizator would be pretty neat too. It'd be a ton of work to match graphics and then go for overlaid sprites with various shapes with X, Y position changes, magnifications and priority changes to get a good match.
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...