flat assembler
Message board for the users of flat assembler.
Index
> DOS > executable image..hows it done? |
Author |
|
Matrix 17 Oct 2004, 02:22
if the header doesn't do someting wrong then it is possible |
|||
17 Oct 2004, 02:22 |
|
windwakr 17 Oct 2004, 02:55
what? explain
|
|||
17 Oct 2004, 02:55 |
|
decard 17 Oct 2004, 05:44
I have found the trick
- header goes disassembled into code that actually does nothing; - actual program is "hidden" in the palette definition (thus its size is limited to 768 bytes) Code: ; Borg Disassembler v2.27 : C:\develop\biew\yay.com ; ; Created by Borg Disassembler ; written by Cronos 1000:0100 ;----------------------------------------------------------------------- 1000:0100 ;Segment : 1000h Offset : 100h Size : 48ch 1000:0100 ;16-bit Code 1000:0100 ;----------------------------------------------------------------------- 1000:0100 start: 1000:0100 0x47 inc di ; 'G' 1000:0101 0x49 dec cx ; 'I' 1000:0102 0x46 inc si ; 'F' 1000:0103 0x3839 cmp [bx+di], bh ; '89' 1000:0105 0x61 popa ; 'a' 1000:0106 0x60 pusha ; | 1000:0107 0x002c add [si], ch ; | resolution (96x44) 1000:0109 0x00f7 add bh, dh ; | flags(0xf7): color table,4 bits-per-pixel,sorted colors,size of palette=768 1000:010b 0x0000 add [bx+si], al ; background color index(0), pixel aspect ratio(0) ; palette definition starts here 1000:010d 0xba1901 mov dx, 119h 1000:0110 0xb409 mov ah, 09h 1000:0112 0xcd21 int 21h 1000:0114 0xb8004c mov ax, 4c00h 1000:0117 0xcd21 int 21h 1000:0119 db "hello i'm an executable GIF file!$" cool How to get such GIF file? Just create 768 byte .com, then set it as a GIF's palette (in PSP for example). |
|||
17 Oct 2004, 05:44 |
|
windwakr 17 Oct 2004, 18:32
thanks!
|
|||
17 Oct 2004, 18:32 |
|
comrade 18 Oct 2004, 02:12
what is this Borg Disassembler?
|
|||
18 Oct 2004, 02:12 |
|
roticv 18 Oct 2004, 11:52
Comrade, I am amazed that you have never heard of that disasembler
|
|||
18 Oct 2004, 11:52 |
|
decard 18 Oct 2004, 12:31
I downloaded first disassembler that I found on http://protools.cjb.net/, and well... I found it really cool
|
|||
18 Oct 2004, 12:31 |
|
sylwek32 15 May 2006, 17:20
Hello,
wow thats nice! But how to do that ?? Can somebody make a tutorial ? Or can somebody programm a tool wich connects a gif + com in to an executable gif ? |
|||
15 May 2006, 17:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.