OpenCores
URL https://opencores.org/ocsvn/zet86/zet86/trunk

Subversion Repositories zet86

[/] [zet86/] [trunk/] [tests/] [09_vdu.s] - Blame information for rev 49

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 zeus
.code16
2
start:
3
movw $0xb800, %dx
4
movw %dx, %ds
5
movw $0x20, %cx
6
movw $11, %bx
7
 
8
b:
9
movw $0x4d03, (%bx)
10
addw $2, %bx
11
loop b
12
 
13
movb $0x36, %al
14
outb %al, $0xb7
15
 
16
movw $0x0, %dx
17
movw %dx, %ds
18
 
19
movw $0x1234, (2)
20
movb $0x56, (5)
21
movb $0x26, (6)
22
movw $0x4567, (9)
23
 
24
movw (5), %ax
25
movw %ax, (0)
26
 
27
hlt
28
 
29
.org 65520
30
jmp start
31
 
32
.org 65535
33
.byte 0xff

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.