+DZ-Jay Posted July 8, 2015 Share Posted July 8, 2015 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: I run the image through IntyColor to convert it to DATA statements I include the image data file in my main program I call some fancy command in IntyBASIC with the label of my data I specify the screen position where I want my graphic displayed I run the program and get my cool looking graphic on the screen ??? 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* Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted July 8, 2015 Share Posted July 8, 2015 You need the "-b" (without quotes) command line parameter before your bitmap file name. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 8, 2015 Author Share Posted July 8, 2015 Whoa! Thanks. How come that is required and it doesn't give me an error? Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted July 8, 2015 Share Posted July 8, 2015 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. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 8, 2015 Author Share Posted July 8, 2015 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. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 8, 2015 Author Share Posted July 8, 2015 Success! I now have an image on the screen. Though the colours have been mangled. I'll work on the BMP then. Thanks! Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted July 8, 2015 Share Posted July 8, 2015 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. Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 8, 2015 Author Share Posted July 8, 2015 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 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 8, 2015 Author Share Posted July 8, 2015 Anybody in for some ess-dee-kay? 2 Quote Link to comment Share on other sites More sharing options...
+DZ-Jay Posted July 8, 2015 Author Share Posted July 8, 2015 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á! -dZ. Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted July 8, 2015 Share Posted July 8, 2015 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. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.