• [^] # Re: HW1 ou HW2 ?

    Posté par (site web personnel, Mastodon) . En réponse au journal Sortie de Punix beta5, et d'un émulateur 68k en javascript !. Évalué à 2. Dernière modification le 29 avril 2012 à 19:03.

    Il y a des commentaires qui parlent de HW1 dans son code, donc tout espoir n'est peut-être pas perdu ?

    grep -ir hw1 src/
    src/sys/sys/start.s: move.b %d0,0x15(%a5) | OSC2 and LCD mem stopped on HW1 (do not clr.b since it reads before set)
    src/sys/sys/start.s: move.w %d0,0x45b00 | Allow Execution of all Flash ROM on HW1
    src/sys/sys/start.s: move.w #0x4C00/8,0x10(%a5) | Set LCD memory address on HW1
    src/sys/sys/start.s: move.b #0xB2,0x17(%a5) | Reset 0x600017 cycles on HW1.
    src/sys/sys/start.s: move.b #0x1F,0x15(%a5) | Enable Timer Interrupts / Increment rate of 0x600017 (OSC2/2^9) / Enable 0x600017 / Enable Int 3 / Enable OSC2 / Enable LCD on HW1
    src/sys/sys/start.s: move.w #0x4C00/8,0x600010 | Set 4C00 as VRAM for HW1
    src/sys/sys/start.s: bclr #1,0x600015 | disable LCD from reading RAM (hw1)
    src/sys/sys/start.s: bset #1,0x600015 | enable LCD from reading RAM (hw1)
    src/sys/sys/start.s: bclr #1,0x600015 | disable LCD from reading RAM (hw1)
    src/sys/sys/start.s: bset #1,0x600015 | enable LCD from reading RAM (hw1)
    src/sys/sys/flash.txt:The FlashROM on the TI-89, 92+, V200, and TI-89Ti consists of 64KB pages. The HW1/HW2 models (TI-89, TI-92+) contain 32 pages, and the HW3/HW4 models (V200, TI-89Ti) contain 64 (128?) pages of FlashROM. The following will apply specifically to the HW1/HW2 models, but most will apply to the HW3/HW4 models as well.
    src/sys/sys/m68k.s: bset.b #4,0x1d(%a0) | 0x60001d disable screen (hw1)
    src/sys/sys/string.s:| 0. Can't use movem due to HW1 Archive bug (Or?)
    src/sys/h/lcd.h: * 7 HW1: Voltage multiplier enable. Keep set (=1).
    src/sys/h/lcd.h: * 4 HW1: Screen disable (power down).
    src/sys/h/lcd.h: * 3-0 LCD contrast bits 3-0 (bit 3 is MSb on HW1).
    
    

    Dans la beta4 il y avait moins de lignes :

    grep -ri hw1 src/
    src/sys/sys/string.s:| 0. Can't use movem due to HW1 Archive bug (Or?)
    src/sys/sys/start.s: move.b %d0,0x15(%a5) | OSC2 and LCD mem stopped on HW1 (do not clr.b since it reads before set)
    src/sys/sys/start.s: move.w %d0,0x45E00 | Allow Execution of all Flash ROM on HW1
    src/sys/sys/start.s: move.w #0x4C00/8,0x10(%a5) | Set LCD memory address on HW1
    src/sys/sys/start.s: move.b #0xB2,0x17(%a5) | Reset 0x600017 cycles on HW1.
    src/sys/sys/start.s: move.b #0x1F,0x15(%a5) | Enable Timer Interrupts / Increment rate of 0x600017 (OSC2/2^9) / Enable 0x600017 / Enable Int 3 / Enable OSC2 / Enable LCD on HW1
    src/sys/sys/start.s: move.w #0x4C00/8,0x600010 | Set 4C00 as VRAM for HW1
    src/sys/h/lcd.h: * 7 HW1: Voltage multiplier enable. Keep set (=1).
    src/sys/h/lcd.h: * 4 HW1: Screen disable (power down).
    src/sys/h/lcd.h: * 3-0 LCD contrast bits 3-0 (bit 3 is MSb on HW1).
    
    

    Elle se compile bien, en tout cas :)
    copie d'écran de punix beta5
    Il faudrait voir si les niveaux de gris sont facilement désactivables. :D

    ce commentaire est sous licence cc by 4 et précédentes