EWTILENI@pucc.UUCP (04/14/87)
I originally posted this stuff when we were having net trouble, so I'm not sure if it got through. If it did, please excuse me. If not, the enclosed tells you: (1) How to fix CoCo Max 2 to work on the CoCo 3. (2) What Frank Hogg is up to these days (3) How to convert colors from RGB > CMP and back the easy way. Have fun... Using CoCoMax on the CoCo-3 by Ken Schunk This information is public domain. Post it anywhere. Copy it and give it to your friends. Line your bird cage with it. Just please leave my name on it (Unless you decide to line your birdcage. Then I don't care..) Two simple poke's are all that is needed for CoCoMax-2 to run on the CoCo-3. The file that must be modified is the COCOMAX/BIN file. To modify it to work on the CoCo-3, place a BACKUP of the CoCoMax disk in your disk drive and type the following: CLEAR 200,&H3FFF LOADM"COCOMAX/BIN" POKE &H53FB,&HFE POKE &H53FC,&HEF If you are using a X-Pad driver, LOADM it at this point. SAVEM"COCOMAX/BIN",&H4000,&H7FFF,&H492B That's all there is to it if you can use an unmodified HiRes input pack. If you are using a multipak with Tandy's new PAL chip, you will need to modify the HiRes pack to get it to work, since the PAL chip will not let you read from the pack. You have a choice of a couple of solutions. You can modify the pack to be readdressed below &HFF80, such as &HFF60. This will require some knowledge of electronics, since some switching of address lines is required. The other possibility is to use a different PAL chip that allows reading of addresses above &HFF80. I THINK that Spectrum Products may have such a device. Yet another solution would be to not use the pack, and use a different device, such as an X-Pad. If you do readdress the pack or use an X-Pad, you will need to modify MAXTITLE/SYS to allow it to work with the new device. One poke is all that is needed to prevent MAXTITLE/SYS from locking into an endless loop. To fix it, use: PCLEAR 5 LOADM"MAXTITLE/SYS" POKE &HED8,&H21 SAVEM"MAXTITLE/SYS",&HE00,&H266C,&HA027 If you readdress the pack, you will also need to modify COCOMAX/BIN to allow it to read the pack at it's new address. The pokes needed are: POKE &H562D, (Low order byte of pack address) POKE &H7ACE, (Low order byte of pack address) For example, if you modified to pack to be addressed at $FF60, you would use the pokes :POKE &H562D,&H60:POKE &H7ACE,&H60. Remember, these pokes modify COCOMAX/BIN. You first need to LOADM it, then do the pokes. Remember to SAVEM it when you are done. If you use the X-Pad, you will need a driver for the X-Pad, such as the following EDTASM+ assembly code: ORG $5839 ;Start of first mouse area START CMPB #2 ;Is it a button request? LBEQ L2 ;Yes - handle button call LDA $FF61 ;Read pen Y position DECB ;B has 1 if Y and 2 if X BNE L4 ;Skip if call was for Y LDA $FF60 ;Get pen X position L4 LDY #TMP ;Point to data storage STA ,Y ;Save pen position CLRB ;Point to data with B,Y RTS ;Back to CoCoMax TMP RMB 1 ;Data area ORG $562A ;Start of second mouse area LBRA START ;Jump to read if called here L2 LDA $FF62 ;Read pen status ASRA ;Get pen switch bit to 'C' BCS L3 ;Return pen down info LDA #$80 ;Map in expected pen value L3 LBRA L4 ;Return value to COCOMAX END START Enjoy The following consists of my observations of all 64 colors generated by the Color Computer 3. The RGB monitor was a CM-8 and the composite device was a TC- 130 color TV. Tint controlls were adjusted so that white,orange,black,and green looked alike;these are the colors that have the same values on both monitors as listed in the color BASIC manual. Not all the colors could be perfectly matched,and some duplicates exist, in these cases only one of the matches is listed. While this list may help, for best results you may have to tweak some colors to fit your picture ideally. This info is copyright(c) 1987 by Renard Dellafave. May be freely reproduced for any not-for-profit purpose. --------------------------------------- COMPOSITE to RGB reference: CMP-RGB | CMP-RGB | CMP-RGB | CMP-RGB 0 - 0 | ------- | ------- | ------- 1 - 2 | 16 - 7 | 32 - 56 | 48 - 63 2 - 2 | 17 - 16 | 33 - 23 | 49 - 58 3 - 6 | 18 - 18 | 34 - 19 | 50 - 50 4 - 0 | 19 - 21 | 35 - 49 | 51 - 51 5 - 4 | 20 - 20 | 36 - 48 | 52 - 62 6 - 33 | 21 - 34 | 37 - 55 | 53 - 52 7 - 32 | 22 - 38 | 38 - 38 | 54 - 53 8 - 32 | 23 - 36 | 39 - 39 | 55 - 60 9 - 45 | 24 - 37 | 40 - 37 | 56 - 60 10 - 5 | 25 - 44 | 41 - 46 | 57 - 46 11 - 9 | 26 - 40 | 42 - 47 | 58 - 61 12 - 13 | 27 - 42 | 43 - 41 | 59 - 61 13 - 8 | 28 - 11 | 44 - 11 | 60 - 57 14 - 1 | 29 - 15 | 45 - 25 | 61 - 59 15 - 0 | 30 - 10 | 46 - 24 | 62 - 58 ------ | 31 - 27 | 47 - 26 | 63 - 63 --------------------------------------- RGB to COMPOSITE reference: RGB-CMP | RGB-CMP | RGB-CMP | RGB-CMP 0 - 0 | 16 - 17 | 32 - 7 | 48 - 36 1 - 14 | 17 - 17 | 33 - 6 | 49 - 35 2 - 2 | 18 - 18 | 34 - 21 | 50 - 50 3 - 14 | 19 - 34 | 35 - 6 | 51 - 51 4 - 5 | 20 - 20 | 36 - 7 | 52 - 53 5 - 10 | 21 - 19 | 37 - 24 | 53 - 54 6 - 3 | 22 - 34 | 38 - 38 | 54 - 36 7 - 16 | 23 - 33 | 39 - 39 | 55 - 37 8 - 13 | 24 - 46 | 40 - 26 | 56 - 32 9 - 11 | 25 - 45 | 41 - 43 | 57 - 60 10 - 30 | 26 - 47 | 42 - 27 | 58 - 49 11 - 28 | 27 - 31 | 43 - 43 | 59 - 61 12 - 11 | 28 - 46 | 44 - 25 | 60 - 56 13 - 12 | 29 - 45 | 45 - 9 | 61 - 59 14 - 30 | 30 - 47 | 46 - 41 | 62 - 52 15 - 29 | 31 - 46 | 47 - 42 | 63 - 63 --------------------------------------- THE FOLLOWING IS A CONFERENCE WITH FRANK HOGG, OWNER OF F.H.L. LABS IN SYRACUSE NEW YORK, A SOFTWARE COMPANY FOR OS9 PROGRAMMING. *********************************************************** This was an unschedule conference on Friday, January 30, 1987 at approximently 9 P.M. den-> Hi Frank Barry-> Hi, Frank. Miki Sandorfi-> But what would you do with that subsystem? Besides running the more powerful operating system... Cornelius Seon-> run scculpter Miki Sandorfi-> ... What is sculpter? Cornelius Seon-> sculptor is the DBASE for OS9 Miki Sandorfi-> That sound decent... But with more memory under Level II, such a program could be written. Cornelius Seon-> it ALREADY exists den-> not like sculpter Miki Sandorfi-> What's the program called? Cornelius Seon-> SCULPTOR Cornelius Seon-> it will cost $495 for the coco 3 Miki Sandorfi-> For OS9 level II for the 6809? Cornelius Seon-> yes Miki Sandorfi-> That sound pretty decent. Barry-> With Frank present, I think he should be the SCULPTOR spokeperson. Cornelius Seon-> frank said so in his interview in this months Rainbow with dale Frank is working on a Coco version FRANK HOGG-> Sculptor is written in C and runs on MSDOS, Unix,OS9 6809 and 68K. den-> thank you Frank Cornelius Seon-> frank, how much for the Coco-QT????? FRANK HOGG-> I'll announce after Level II is available. Cornelius Seon-> Frank, will Level I dynastar run under Level II FRANK HOGG-> DynaStar has been running under II for 4 years Cornelius Seon-> I mean on the Coco FRANK HOGG-> coco DS is keyed to the coco 2 and probably won't work as well as you would like. den-> ahh but will ANYTHING run under Tandy's Level 2 FRANK HOGG-> Everything I've tried works so far den-> that's a relief, thanks Frank Dan-> Frank, Do you plan an upgrade/fix for CoCo D FRANK HOGG-> probably. Dan-> Thanks Frank!...any other new things from FHL when Lev.2 is released? FRANK HOGG-> UniStar (Word Star clone) Dan-> Frank, any new utilities coming up for Level 2? FRANK HOGG-> No, just the same ones we've had for II for years. Dan-> Frank, any CoCo 3 specificugh? FRANK HOGG-> II is II. Cornelius Seon-> how about the fact that the slices are 2k, not 8k under the other L-II FRANK HOGG-> Memory goes fast. Dan-> Frank, will you be offering any utilities specifically for the coco level 2? FRANK HOGG-> Yes after we see what is needed, probably stuff using windows etc. Dan-> Frank, thank you! Cornelius Seon-> Back to unistar, what WON'T be in unistar????? FRANK HOGG-> Nothing, its all there (I hope) Cornelius Seon-> what is in word star which wont be in unistar FRANK HOGG-> We are trying to make a EXACT copy of WordStar with some added OS9 features. Cornelius Seon-> gooooood!!!!!!!! FRANK HOGG-> now then version 2 will have.... I'd better wait. Cornelius Seon-> Multiple columns on line would be nice!! Dan-> Frank, will you be offering a multie alternative? FRANK HOGG-> First we see multiview... then we decide. Dan-> thank Frank! By the way I liked your attitude in the Rainbow article...very positive! Cornelius Seon-> yeah!!!!! FRANK HOGG-> Thank you, I is a positive kind of guy. Cornelius Seon-> I really liked your interview FRANK HOGG->Wait till you see windows... neat! den-> doesn't it need L2 to see it? FRANK HOGG-> yep Cornelius Seon-> Frank, would you agree you need 512k to get the full benefit of Lel 2? FRANK HOGG-> 512K is the ONLY way to go. Cornelius Seon-> Frank how many seperate files will sculptor handle at once????? FRANK HOGG-> Sculptor will allow 16 files under OS9 with somewhere between 6 and 14 open... 22,000,000 + records per file no limit on the... number of fields in a record. Average time to fetch any record in any size is less than a second (much less!) Cornelius Seon-> great, you have a convert!! Dan-> Frank, will the Sculptor resultant program file be C or ASM? FRANK HOGG-> it has its own runtime and compiler, something like basic09 and runb. It has its own code, kinda like pcode. Dan-> thanks frank! - end of file - - ERIC -