Have bbcbasic or tibasic built into the os
BBCBASIC (What I think is better)
 62%  [ 5 ]
TI-BASIC
 37%  [ 3 ]
Total Votes : 8

I am building my own OS called TBD OS

Very basic write now , started writing yesterday but whole day trying to fix the compiling process why it wasnt working. Finally got it working today.

I am using AsmOS's build8xu and buildos but not their files cause i wanted to start from scratch .

So far here's the code

Code:

    jr Init
     .db 0,0,0,0,0,0
   .db 0, 0 ; rst 08h
   .db 0,0,0,0,0
   .db 0, 0   ; rst 10h
   .db 0,0,0,0,0
   .db 0,0   ; rst 18h
    .db 0,0,0,0,0
   .db 0, 0 ; rst 20h
   .db 0,0,0,0,0
   .db 0,0   ; rst 28h
   .db 0,0,0,0,0
   .db 0,0   ; rst 30h
   .db 0,0,0,0,0,0,0
   .db 0, 0 ; rst 38h / System Interrupt
    .db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
   .db 0,0,0,0,0,0,0,0,0
   jp Init
   .dw 0A55Ah
Init:

memInit:
    ld a,1
    out (6),a
    in a,(2)
    rlca
    ld a,$41
    jr nc,LowerModel
HigherModel:
    out (5),a
    ld a,$81
    out (7),a
    jr memDone
LowerModel:
    out (6),a
    out (7),a
memDone:
    ld sp,0
lcdInit:
    ld a,$40
    out ($10),a
    call lcdDelay
    ld a,5
    out ($10),a
    call lcdDelay
    ld a,1
    out ($10),a
    call lcdDelay
    ld a,3
    out ($10),a
    call lcdDelay
    ld a,$90
    out ($10),a
    call lcdDelay
    ld a,$f3
    out ($10),a
    call lcdDelay
    ld a,$20
    out ($10),a
    call lcdDelay
    xor a
Start:
    dec a
    out ($11),a
    call lcdDelay
    xor a
    out ($11),a
    call lcdDelay
    jr Start
   


lcdDelay:
    ex (sp),hl
    ex (sp),hl
    inc (hl)
    dec (hl)
    ret



Don't no why but in jstified it shows a black screen and in wabbitemu shows white .
I want the lcd to work on newer models so that's why I'm not doing the in a add a,a jr c loop thing. What is causing the lcd not showing correctly?

Thank-you , especially everyone who posted in https://www.cemetech.net/forum/viewtopic.php?t=5008

EDIT: I fixed the lcd thing, forgot to set power supply.

Another Edit: This poll will end when I make an edit saying this poll has ended , prolly in Jan 2026.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement