filemode = true
bare = false
logallrefupdates = true
-[remote "x4"]
- url = ssh://sparky4@4ch.mooo.com:26/var/www/16/16.git
- fetch = +refs/heads/*:refs/remotes/x4/*
+[remote "origin"]
+ url = https://github.com/sparky4/16
+ fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
-[remote "origin"]
- url = git@github.com:sparky4/16.git
- fetch = +refs/heads/*:refs/remotes/origin/*
-[remote "sf"]
- url = ssh://sparky4q@git.code.sf.net/p/project16/code
- fetch = +refs/heads/*:refs/remotes/sf/*
-[remote "jp"]
- url = ssh://sparky4@git.pf.osdn.jp:/gitroot/s/sp/sparky4/project16.git
- fetch = +refs/heads/*:refs/remotes/jp/*
-[remote "bb"]
- url = git@bitbucket.org:sparky4/16.git
- fetch = +refs/heads/*:refs/remotes/bb/*
+[submodule "src/lib/doslib"]
+ url = https://github.com/joncampbell123/doslib.git
+[submodule "src/lib/jsmn"]
+ url = https://github.com/zserge/jsmn.git
cm.vertical_display_end = 480;\r
cm.vertical_blank_start = 0x1E7 + 1;\r
cm.vertical_blank_end = 0x206 + 1;\r
+ cm.clock_select = 0; /* misc register = 0xE3 25MHz */\r
+ cm.vsync_neg = 1;\r
+ cm.hsync_neg = 1;\r
\r
vga_write_crtc_mode(&cm,0);\r
}\r
{\r
/* TODO save current video mode and palette */\r
vgaSetMode(VGA_256_COLOR_MODE);\r
-\r
vga_enable_256color_modex();\r
-\r
- /* disable chain4 mode */\r
- //outpw(SC_INDEX, 0x0604);\r
-\r
- /* synchronous reset while setting Misc Output */\r
- //outpw(SC_INDEX, 0x0100);\r
-\r
- /* select 25 MHz dot clock & 60 Hz scanning rate */\r
- outp(MISC_OUTPUT, 0xe3);\r
-\r
- /* undo reset (restart sequencer) */\r
- //outpw(SC_INDEX, 0x0300);\r
-\r
- /* reprogram the CRT controller */\r
- outp(CRTC_INDEX, 0x11); /* VSync End reg contains register write prot */\r
-// temp = inp(CRTC_DATA) & 0x7F;\r
-// outp(CRTC_INDEX, 0x11);\r
- outp(CRTC_DATA, 0x7f); /* get current write protect on varios regs */\r
-// outp(CRTC_DATA, temp); /* get current write protect on varios regs */\r
update_state_from_vga();\r
}\r
\r