A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / How to start
 Page:  ««  1  2  
Author Message
Torisoft
Member
#1 - Posted: 5 Apr 2016 07:53
Reply Quote
LaBodilsen:
more info in iff
https://en.wikipedia.org/wiki/ILBM
http://wiki.amigaos.net/wiki/ILBM_IFF_Interleaved_Bitmap


Very nice indeed, thanks.
Torisoft
Member
#2 - Posted: 12 Apr 2016 10:48
Reply Quote
Thanks to you good comments, and a little work of my own, I used Dos.lib to pen an IFF file and read some bytes into memory. It clearly showed the labels inside the file, e.g. CMAP, and I could find the beginning of the chunk of bitmap (was about $E0 bytes from the start), the sites offered good insight. Thanks again guys.

I do everything property and open a window in the CLI, but my texts do not go into it (using dos/WRITE)! I can only write to the CLI itself. I suppose giving the window-handle is not enough, do I need to make anything else for the window for it to accept text? Any help or hint will be appreciated.

Torisoft
Member
#3 - Posted: 12 Apr 2016 10:49
Reply Quote
Also, to put out text (or other stuff) into a window or screen I need to provide a "Rasterport" address/handle, how do I get one? I suppose it is embedded in some structure, am I right?
Torisoft
Member
#4 - Posted: 20 Apr 2016 07:15
Reply Quote
Ok, I got the rasterport from inside screen/window structure, but it does not work!
The one I get from a window structure does nothing (e.g. write pixel), the one from screen works! But not in a nice manner!

Torisoft
Member
#5 - Posted: 23 May 2016 11:02
Reply Quote
Hey.
I have done many things for the project I mentioned earlier.
I can now find directories and open files and read their contents.
I have made functions to search for a 'string' in a memory area.
I have made the codes needed to show a "raw" (IFF-Convertor) image file as a screen.

I need something.
I need to read "a command line argument" to show the directory of pictures as the user wishes to see.
How can I read the arguments following a file name inside a CLI window? Any ideas?

 Page:  ««  1  2  

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0