13260a199Stsutsui;; $NetBSD: X68kConfig,v 1.3 2020/11/13 17:49:57 tsutsui Exp $ 2706f2543Smrg;;---------------------------------------------------------------- 3706f2543Smrg;; X68kConfig: sample configuration for X68k 4706f2543Smrg;; written by Yasushi Yamasaki 5706f2543Smrg;;---------------------------------------------------------------- 6706f2543Smrg 7706f2543Smrg;;---------------------------------------------------------------- 8706f2543Smrg;; standard modes 9706f2543Smrg;;---------------------------------------------------------------- 10706f2543Smrg 11706f2543Smrg; 12706f2543Smrg; 768x512x1bit Monochrome 13706f2543Smrg; CRTC-R20 = 0x0416(1046) VIDEOC-R0 = 0x0004 14706f2543Smrg; 15706f2543Smrg(ModeDef Monochrome768x512 16706f2543Smrg; type depth class width height 17706f2543Smrg Text 1 StaticGray 768 512 18706f2543Smrg; CRTC-R00 -R01 -R02 -R03 -R04 -R05 -R06 -R07 -R08 19706f2543Smrg 137 14 28 124 567 5 40 552 27 20706f2543Smrg; CRTC-R20 VIDEOC-R0 dotclk 21706f2543Smrg 1046 4 0) 22706f2543Smrg 23706f2543Smrg; 24706f2543Smrg; 768x512x4bit StaticGray 25706f2543Smrg; CRTC-R20 = 0x0416(1046) VIDEOC-R0 = 0x0004 26706f2543Smrg; 27706f2543Smrg(ModeDef Static16Gray768x512 Graphic 4 StaticGray 768 512 28706f2543Smrg 137 14 28 124 567 5 40 552 27 29706f2543Smrg 1046 4 0) 30706f2543Smrg 31706f2543Smrg; 32706f2543Smrg; 768x512x4bit PseudoColor 33706f2543Smrg; CRTC-R20 = 0x0416(1046) VIDEOC-R0 = 0x0004 34706f2543Smrg; 35706f2543Smrg(ModeDef Pseudo16Color768x512 Graphic 4 PseudoColor 768 512 36706f2543Smrg 137 14 28 124 567 5 40 552 27 37706f2543Smrg 1046 4 0) 38706f2543Smrg 39706f2543Smrg; 40706f2543Smrg; 512x512x8bit PseudoColor 41706f2543Smrg; CRTC-R20 = 0x0115(277) VIDEOC-R0 = 0x0001 42706f2543Smrg; 43706f2543Smrg(ModeDef Pseudo256Color512x512 Graphic 8 PseudoColor 512 512 44706f2543Smrg 91 9 17 81 567 5 40 552 27 45706f2543Smrg 277 1 0) 46706f2543Smrg 47706f2543Smrg; 48706f2543Smrg; 512x512x15bit TrueColor 49706f2543Smrg; CRTC-R20 = 0x0315(789) VIDEOC-R0 = 0x0003 50706f2543Smrg; 51706f2543Smrg(ModeDef True32768Color512x512 Graphic 15 TrueColor 512 512 52706f2543Smrg 91 9 17 81 567 5 40 552 27 53706f2543Smrg 789 3 0) 54706f2543Smrg 5584d30d9dStsutsui; 5684d30d9dStsutsui; 640x480x4bit PseudoColor 5784d30d9dStsutsui; CRTC-R20 = 0x0417(1047) VIDEOC-R0 = 0x0004 5884d30d9dStsutsui; 5984d30d9dStsutsui(ModeDef Pseudo16Color640x480 Graphic 4 PseudoColor 640 480 6084d30d9dStsutsui 99 11 13 93 524 1 33 513 27 6184d30d9dStsutsui 1047 4 0) 6284d30d9dStsutsui 63706f2543Smrg;;---------------------------------------------------------------- 64706f2543Smrg;; tricky modes 65706f2543Smrg;;---------------------------------------------------------------- 66706f2543Smrg 67706f2543Smrg; 68706f2543Smrg; 1024x768x1bit Monochrome 69706f2543Smrg; CRTC-R20 = 0x041a(1050) VIDEOC-R0 = 0x0004 70706f2543Smrg; 71706f2543Smrg(ModeDef Monochrome1024x768 Text 1 StaticGray 1024 768 72706f2543Smrg 164 9 26 154 415 2 28 412 27 73706f2543Smrg 1050 4 0) 74706f2543Smrg 75706f2543Smrg; 76706f2543Smrg; 1024x768x4bit PseudoColor 77706f2543Smrg; CRTC-R20 = 0x041a(1050) VIDEOC-R0 = 0x0004 78706f2543Smrg; 79706f2543Smrg(ModeDef Pseudo16Color1024x768 Graphic 4 PseudoColor 1024 768 80706f2543Smrg 164 9 26 154 415 2 28 412 27 81706f2543Smrg 1050 4 0) 82706f2543Smrg 83706f2543Smrg; 843260a199Stsutsui; 1024x768x4bit StaticGray 85706f2543Smrg; CRTC-R20 = 0x041a(1050) VIDEOC-R0 = 0x0004 86706f2543Smrg; 87706f2543Smrg(ModeDef NeedsMultiScan Graphic 4 StaticGray 1024 768 88706f2543Smrg 154 9 16 144 405 2 18 402 27 89706f2543Smrg 1050 4 0) 90706f2543Smrg 91706f2543Smrg; 92706f2543Smrg; 512x512x15bit TrueColor 93706f2543Smrg; CRTC-R20 = 0x0316(790) VIDEOC-R0 = 0x0003 94706f2543Smrg; 95706f2543Smrg(ModeDef True32768ColorSquare Graphic 15 TrueColor 512 512 96706f2543Smrg 137 14 28 124 567 5 40 552 27 97706f2543Smrg 790 3 0) 98706f2543Smrg 99706f2543Smrg;;---------------------------------------------------------------- 100706f2543Smrg;; mode selection 101706f2543Smrg;;---------------------------------------------------------------- 102706f2543Smrg 103706f2543Smrg(Mode Pseudo16Color768x512) ; choose 768x512x4bit PseudoColor 104706f2543Smrg;(Mode Pseudo256Color512x512) 105706f2543Smrg;(Mode Static16Gray768x512) 106706f2543Smrg;(Mode True32768Color512x512) 107706f2543Smrg;(Mode Monochrome768x512) 108706f2543Smrg;(Mode Monochrome1024x768) 109706f2543Smrg;(Mode Pseudo16Color1024x768) 110706f2543Smrg;(Mode NeedsMultiScan) 11184d30d9dStsutsui;(Mode Pseudo16Color640x480) 112706f2543Smrg 113706f2543Smrg;;---------------------------------------------------------------- 114706f2543Smrg;; input devices 115706f2543Smrg;;---------------------------------------------------------------- 116706f2543Smrg 117706f2543Smrg(Mouse standard) ; standard x68k mouse 118706f2543Smrg(Keyboard standard) ; standard x68k keyboard 119706f2543Smrg; (Keyboard ascii) ; ascii map 120706f2543Smrg 121706f2543Smrg 122706f2543Smrg;;---------------------------- EOF ------------------------------- 123