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

Subversion Repositories zet86

[/] [zet86/] [trunk/] [tests/] [09_vdu.s] - Diff between revs 39 and 49

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 39 Rev 49
.code16
.code16
start:
start:
movw $0xb800, %dx
movw $0xb800, %dx
movw %dx, %ds
movw %dx, %ds
movw $0x20, %cx
movw $0x20, %cx
movw $11, %bx
movw $11, %bx
 
 
b:
b:
movw $0x4d03, (%bx)
movw $0x4d03, (%bx)
addw $2, %bx
addw $2, %bx
loop b
loop b
 
 
movb $0x36, %al
movb $0x36, %al
outb %al, $0xb7
outb %al, $0xb7
 
 
movw $0x0, %dx
movw $0x0, %dx
movw %dx, %ds
movw %dx, %ds
 
 
movw $0x1234, (2)
movw $0x1234, (2)
movb $0x56, (5)
movb $0x56, (5)
movb $0x26, (6)
movb $0x26, (6)
movw $0x4567, (9)
movw $0x4567, (9)
 
 
movw (5), %ax
movw (5), %ax
movw %ax, (0)
movw %ax, (0)
 
 
hlt
hlt
 
 
.org 65520
.org 65520
jmp start
jmp start
 
 
.org 65535
.org 65535
.byte 0xff
.byte 0xff
 
 

powered by: WebSVN 2.1.0

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