flat assembler
Message board for the users of flat assembler.

Index > DOS > Random spill

Author
Thread Post new topic Reply to topic
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41 15 Mar 2009, 23:06
This Is a random spill I made... I mixed bad files with my spinner and got
this cool mistake. When You go to compile It will say somthig about the bit16
thing, anyway after that exit and run it... I think it is cool.

Code:
bits16

Start:
        mov     si,one
      call    print
;==============================
    mov     si,two
      call    print
;==============================
    mov     si,three
    call    print
;==============================
    mov     si,four
     call    print
;==============================
    mov     si,five
     call    print
;==============================
    mov     si,six
      call    print
;==============================
    mov     si,seven
    call    print
;==============================
    mov     si,eight
    call    print
;==============================
jmp Start

one        db ' | '
two       db ' / '
three     db '---'
four      db ' \ '
five     db ' | '
six       db ' / '
seven     db '---'
eight     db ' / '

Print:
        mov     ah,0Eh
      mov     bx,7

    lobsd
       int     10h

     lobsd
       int     10h

     lobsd
       int     10h
;================================
    

_________________
Want hosting for free for your asm project? You can PM me. (*.fasm4u.net)
Post 15 Mar 2009, 23:06
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20333
Location: In your JS exploiting you and your system
revolution 15 Mar 2009, 23:15
No one can compile it unless you provide the "bits16" definition.
Post 15 Mar 2009, 23:15
View user's profile Send private message Visit poster's website Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41 15 Mar 2009, 23:28
ahh... yes but then It would not do this. But here is the correct .com
file definition.
Code:
use16                       
org 0x100
    

But It will mes it all up. download here
Post 15 Mar 2009, 23:28
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 16 Mar 2009, 00:27
The COM file of your link is just the ASM source renamed to .COM extension. Is that the cool part?

The source has another mistake, "lobsd" doesn't exists and you forgot the ret instruction at Print proc.
Post 16 Mar 2009, 00:27
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41 16 Mar 2009, 16:33
Quote:
The COM file of your link is just the ASM source renamed to .COM extension. Is that the cool part?

Well... to me it is Confused

[quote] The source has another mistake, "lobsd" doesn't exists and you forgot the ret instruction at Print proc. [/qoute] that is why I said mixed with some bad code.
Post 16 Mar 2009, 16:33
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1900
DOS386 22 Mar 2009, 01:34
> that is why I said mixed with some bad code.

But we already discussed your "bad code" here:
http://board.flatassembler.net/topic.php?t=9867 , so why do you open a new thread about it ? Please try to avoid such "lack of effort" bugs Idea

PS: your "electrisity" still has a BUG
Post 22 Mar 2009, 01:34
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.