Author Topic: [z80] Problems building an OS  (Read 2651 times)

0 Members and 1 Guest are viewing this topic.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
[z80] Problems building an OS
« 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 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 ...



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

Thanks by advance :)
« Last Edit: March 14, 2013, 01:55:35 pm by Matrefeytontias »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: [z80] Problems building an OS
« Reply #1 on: March 12, 2013, 06:16:57 pm »
I think SirCmpwn can help you on this, you can contact him on EFNet via PM.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.