Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: Matrefeytontias on March 12, 2013, 12:52:03 pm

Title: [z80] Problems building an OS
Post by: Matrefeytontias on March 12, 2013, 12:52:03 pm
Hey guys,

Don't misunderstand the title, I'm not planning to code the best OS, nor any OS that has useful stuffs in it at all in fact :P

I just downloaded SirCmpwn's AsmOS (http://www.ticalc.org/archives/files/fileinfo/442/44226.html) and only tried to add this to boot.asm at line 140, following the readme's instructions :

Code: [Select]
bootedLoop:
ld d,44
ld e,28
ld b,8
ld iy,$90D3
ld ix,sprite
call PutSpriteOR
ld iy,$90D3
call BufferToLCD

ld a,$FD
out (1),a
in a,(1)
bit 6,a
call z,ShutDown
jp bootedLoop
sprite:
.db %00111100
.db %01000010
.db %10100101
.db %10000001
.db %10100101
.db %10011001
.db %01000010
.db %00111100

The shutdown code is working fine (I mean that it effectively shuts down when pressing [clear]) but the sprite ...

(http://img.removedfromgame.com/imgs/bugSpriteBoot.png)

I didn't change anything else ... do you know why it's not working ?

Thanks by advance :)
Title: Re: [z80] Problems building an OS
Post by: Juju on March 12, 2013, 06:16:57 pm
I think SirCmpwn can help you on this, you can contact him on EFNet via PM.