flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 01 Sep 2021, 16:37
bitRAKE wrote:
Code: iterate n,'*','9','X','V' while notes > 0 indx bsr notes display n notes = notes xor (1 shl (bsr notes)) end while break end iterate |
|||
![]() |
|
bitRAKE 01 Sep 2021, 19:27
Thank you. Was thinking towards creating a tool to audit my ICO/CUR archive. First, I need to correctly reverse engineer the directory entries from the BITMAPINFOHEADER and grok all the broken values from the ICO files collected from various sources. The later part is probably more cumbersome. I might discover some rules unpublished. This is a start.
The PNG decoder in Windows is actually quite fast (beats open source implementations in tests). So, for new projects in Vista+ there should be no other choice, imho. This ICO file has a complete directory and is probably compatible with Win9x+: Code: file name: FloppyDisk.ico type: .ICO images: 16 ICONDIRENTRY(s): W x H |colors|planes| BPP| bytes | offset 48 x 48 | 16 | 1 | 4 | 1640 | 262 32 x 32 | 16 | 1 | 4 | 744 | 1902 24 x 24 | 16 | 1 | 4 | 488 | 2646 20 x 20 | 16 | 1 | 4 | 424 | 3134 16 x 16 | 16 | 1 | 4 | 296 | 3558 48 x 48 | 256 | 1 | 8 | 3752 | 3854 32 x 32 | 256 | 1 | 8 | 2216 | 7606 24 x 24 | 256 | 1 | 8 | 1736 | 9822 20 x 20 | 256 | 1 | 8 | 1544 | 11558 16 x 16 | 256 | 1 | 8 | 1384 | 13102 256 x 256 | 2^32 | 1 | 32 | 270376 | 14486 X 48 x 48 | 2^32 | 1 | 32 | 9640 | 284862 X 32 x 32 | 2^32 | 1 | 32 | 4264 | 294502 X 24 x 24 | 2^32 | 1 | 32 | 2440 | 298766 X 20 x 20 | 2^32 | 1 | 32 | 1720 | 301206 X 16 x 16 | 2^32 | 1 | 32 | 1128 | 302926 X X note: requires Windows XP or greater _________________ ¯\(°_o)/¯ AI may [not] have aided with the above reply. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.