on Q&A a Over the past few months wu have received some questions regarding the Power Up routine and its sequence of events, “he Power Up routine resides in console KOM and console GROM chip 6, with the najority of it in GROM. Listed below ia the’ yuquence of events, as we Know it, that take place from the moment power is applies Lo the console, {. When power is first applied to the 9906 piecroprocessor it executes a level 0 tnterrupt’ which is a reset. When this yappens it knowa to grab its workspace yointer from address >0000 and ita prograr. sounter or instruction pointer from addres: 70002, In the 99/HA these addresses are ourned into the consale ROM. Once it has -hase addresses it begins to execute the rode that 49 poiated to by address >0002, 1, The code pointed to by address >0002 oads R19 with 29800, tha GROM read iddress, RIY with o0100, the status flag ind R15 with >8C02, the VDP write address. |. The balance of the Power Up routine Is nm GROM ahip 0. First it clears out the und list indicator at >83CE and then iv urns off the Speech Synthesizer, 4£ yo ave one, and turns off the sound enerators,. «. Newt it dnitdalizes the Data and wbrourcne GPL atacks in Scratch Pad RAM. » Then it loads the VDP registers with efault values stored in a GROM table. ‘Most of the Scratch Pad RAM ia then leared out by writing zeros to it. the. keyboard interrupts are then disabled and the cassette sudio gate is urned on, this allows you to hear the assette through your monitor speaker. . Next the VDP and external interrupts are nabled, ‘ » The cassette motors ara then enabled, iis sets up the remote jack so thu motors an run. sr i ne ERE AR NEM ARTO ERNE USAR PUWER-UP 16. After the search und exeeution of ROUT LINE + 1 a BEEP sounds oy GO. Mext it generare: Ch routine an GROW chap © Liing the TON1 V1, And then it determines the size of Vor HAM, UE or 16K, and sets vit G in Vor register 1 to 1 for 16K. 1 guess that TI thought they might produce 6 YK console at one point in time. lé. The first 4K of VOR WAM us then cleared Gut and the default volour and character lables are thoved from GHOM to VOR HA, Tnitjalised by »CALL 13. Next the keyboards are scanning them, Je: CALL KEYS... KEY(4 , CALL KEY(3.. ere, 14, Then it moves the datu for the Title Sereen into the screen image table. At this Point the screen can nut be seen because it is turned off. Bit 1 in VOF register 1 is set to zero, . * 15. The ROMS(DSR) and GROMs ure then searched for power up headers and if they have one they are executed, power up headers is complete the Title Sereen is displayed by writing a 1 Co bit™T of vpp register {. This is the first time that you ure able to see the Tile Screen, 17. Next dt initdalizes the Randow Number Generator and then waits for you to 'PRESS- ANY KEY', After you press a key it generates another BEEP sound, 18. And then it searches through the cartridge ROM and GKOM’ for upplication programs and builds a list of their mames. le: Editor/Assembleur, Extended Basie, Basic etc. Note: some consoles, V2.0 (C) 1983, a0 r.t search ROM only GROM, 19, At this point the sereen is once again turned off, VLP register 1, bit 1 ds set to zero and then it sets up the menu sercen with the application programs it found. 20. After the menu {s set up it turns on the screen by writing a 1} Lo bit 1 of WEP register 1, and wuits for you tuo make a selection, 21. If you make an illegal seleetion it generates a HONK sound, otherwise it seta up the starting address for the application program you selected and branches te it, sy 4