🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #318

[lame] 13h - nie działa?

#318
From: Wiktor S.
Date: Thu, 08 Jun 2006 10:10
50 lines
1471 bytes
Dlaczego to się wiesza albo wysypuje? Program jest tak banalny, że albo mam 
dziś zaćmienie jakieś, albo jest tu jakaś teoria spiskowa:

nasm test.asm -fobj -o test.obj
tlink test.obj

segment code use16
..start:
  mov ax,data
  mov ds,ax
  mov ax,stack
  mov ss,ax
  mov sp,stacktop

  call go13h

  mov ax,0A000h
  mov es,ax
  mov byte [es:1000],15

  call readkey
  call go03h

  mov ax,4c00h
  int 21h

readkey:
  mov ah,8
  int 21h
ret

go13h:
  mov ax,13h
  int 10h
ret

go03h:
  mov ax,3
  int 10h
ret

segment data

segment stack STACK
  resb 64
stacktop:


-- 
Azarien
Technical Details
Message-ID: <e68t2c$7e0$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: "Wiktor S." <wswiktorSP@Mpoczta.fm>
Newsgroups: pl.comp.lang.asm
Subject: [lame] 13h - nie działa?
Date: Thu, 8 Jun 2006 12:10:22 +0200
Organization: Onet.pl
Lines: 52
Message-ID: <e68t2c$7e0$1@news.onet.pl>
NNTP-Posting-Host: 155.168.wmc.com.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1149761420 7616 87.250.168.155 (8 Jun 2006 10:10:20 GMT)
X-Complaints-To: usenet@news.onet.pl
NNTP-Posting-Date: Thu, 8 Jun 2006 10:10:20 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Sender: 63e3folRCjcGWUjNfLSN0w==
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-Priority: 3
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit