This commit is contained in:
xmm15 2020-02-20 23:05:16 -06:00
parent 006bd856db
commit ff1f90a666
7 changed files with 4 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View file

@ -4,7 +4,7 @@ It has 3 channels:
$LK,"Channel 0",A="MN:PIT0"$ can generate an interrupt, IRQ 0, at a defined frequency. We set it up in $LK,"TimerInit",A="MN:TimerInit"$(), and use it in $LK,"SysTimerRead",A="MN:SysTimerRead"$().
Channel 1 ised to be used to refresh the DRAM, but now it is obsolete as the hardware does this itself. Channel 1 is useless and might not even be implemented anymore on modern machines.
Channel 1 was used historically to refresh the DRAM, but now it is obsolete as the hardware does this itself. Channel 1 is useless and might not even be implemented anymore on modern machines.
$LK,"Channel 2",A="MN:PIT2"$'s output is connected to the PC speaker.

Binary file not shown.

View file

@ -224,7 +224,7 @@ CBinFile *Load(U8 *filename,I64 ld_flags=0,CBinFile *bfh_addr=INVALID_PTR)
module_base=bfh_addr(U8 *)+sizeof(CBinFile);
absname=FileNameAbs(fbuf);
Free(fbuf);
 Free(fbuf);
fbuf=StrNew(absname);
FileExtRemove(fbuf);
if (fbuf[1]==':' && StrLen(fbuf)>2)
@ -239,8 +239,7 @@ CBinFile *Load(U8 *filename,I64 ld_flags=0,CBinFile *bfh_addr=INVALID_PTR)
U0 LoadKernel()
{
HashGenericAdd(KERNEL_MODULE_NAME,HTT_MODULE|HTF_PUBLIC,
mem_boot_base-sizeof(CBinFile));
HashGenericAdd(KERNEL_MODULE_NAME,HTT_MODULE|HTF_PUBLIC,mem_boot_base-sizeof(CBinFile));
//Abs patches done here $LK,"CPatchTableAbsAddr",A="FF:::/Kernel/KStart32.CC,CPatchTableAbsAddr"$.
LoadPass1(sys_boot_patch_table_base,mem_boot_base,LDF_NO_ABSS|LDF_SILENT);

View file

@ -2980,7 +2980,7 @@ ddd
HOHOLO`OdOdOhOh@`N`NkNvN†NŽN¯N¾NÏNØNìNOO'O7O?O`OuO€OŠO¯O´O¾OËOÝOöOPP,P;PEPbPmPuP<00>PP°P¹PÓPâPîP÷PüPQ&Q,QEQAQ[QfQnQyQyQyQ„Q„Q•Q•Q¨QºQÍQÖQÖQéQùQRRRRR!R,R-RARERLRhš«5«5³5Ñ5â5ò5ù56.6A6H6Y6q6s6s6†6—6¯6±6±6³6ˆpu<00>šßšß´ßÌßèßèßïßñßñßÿßàààààˆ£Áú²ú²³³³‰³˜³¨³´³¶³óÚ³å³ç³í³ï³ï³ï³ô³ý³´´´ŠøQhv†v vºv¾vÐvÙvâvévòvûvw"w:wMwVw_wmw…w˜w¡wµw¹w¿wÈwÎwÙwÛwÞwæwûwxxx$x,x0xBxHxNxUx[xmxsx‡xŽx<00>xìxl····Š·—·¢·¿·Ò·ë·ë·¸¸¸ ¸*¸2¸ŒHWe€a€a”a©a³aÇaÐaÕaÙaßaæaéaúa<00>`Ui£V£VÃVÎVÔVßVáVòVÿVWWWŽàø,û*û*++3+3+Q+Q+o+o+<00>+¢+®+Ø+Þ+ã+
,',D,a,~,,¸,Õ,ò,-,-I-f-ƒ- -½-Ú-÷-.1.N.k.ˆ.¥.Â.Ü.ö./*/B/B/B/Q/Á1<00>(ëñ<00>÷<00> Š©a©a²a¿aÄa, RcYcY{Y}Y‰Y‰Y•Y¢Y¯Y·Y¼YÂYÄYÈYØYæYöYZZZ Z ZZZ7ZEZPZRZXZZZ\Z^Z^ZiZkZsZyZ{Z{Z‡ZZ”Z”Z”Z”ZŸZŸZ§Z«Z·ZP¨¸ 7 777#7/7;7G7P7\7c7h7y7<00>7¨7ª7X<00>¢<00>²°²»²Ù²ê²ì²ì²ô²,Š¢Ò¨ÒÝÒH¾ÌòŒòŒ<00> <0C><11><11><1E>0<>5<>5<>;<3B>8ÀCQCQ_QlQqQ‡QŠQŸQ(ÀÆì¬ì¬ô¬þ¬­­˜@ãïš<>š<>¨<>ª<>Ì<>Ù<>Ù<>Ý<>ã<>0ª²€ü‚ü‚üŠüšH\j”B”B®B¿BÏBÒBÔBáBåBèBòB8++!+)+1+R+h+q+w+œP:JH}H}`}l}t}{}„}Š}<00>}<00>}¡}®}´}·}Ã}<00>Ä Íl=l=Ž=˜==«=Ã=Í=Ó=Ö=Ù=Ü=>>> >3>6>9>A>G>L>L>R>^>`>i>i>i>i>o>r>w>z>>”>žð8pü¯ü¯°‚°‹°<00>°–°Ÿ°¡°¡°ª°¹°»°»°Ä°Í°Ò°Ò°Û°ä°é°é°ò°û°±±± ±±±±ì±ŸÈØÜ>Ü>ø>þ>? ? ???)?3???A?G?N?Q?T?\?h?n?s?y?|?~?‰?<00>?•?ž?ž?¦?¯?µ?¾?¾?¾?¾?Ä?Ì?Ï?ß? Lùš£š£¨£«£·£Á£Ç£Ô£è£è£
¤
¤¡8ak..<FP[ceek¢xÇá­­"­%­2­6­@­F­J­X­f­t­­<00>­ž­¬­µ­¼­£8„«†«Ž«¢«©«®«¶«¤,Ûâz<>z<>ƒ<><00><>Ž<><>¥4ÐÙ3x3xGxYxhxyxŒxxx¦ òö†÷†÷Š÷ª÷¬÷§t22¸2¸B¸N¸W¸h¸<00>¸³¸¸ϸã¸Ú¸¹¹¹ ¹¨Ì[Šƒû‘û—û¡û¡û®û´û¸û»û½ûÄûËûÕûáûêûþûü€ü<00>ü”ü«ü·ü¿üÁüÛüöüýý©Üø+##+/:HQg{œª¹Ùö+CRVamxÄÓÿ //=DVVdde{ªhaw‚º‚º¤ºªº³º³º¼º˺غ»»»»«$(-ª¨ª¨¸¨À¨Ò¨ب¬\gzšššš’š—šœš­<@Kˆ©’©–©›©§©¬©°©´©¾©®<ðû˥˥à¥Ï¥ï¥¦¯ ¼‰½”½ª½¶½̽â½ê½ê½˜¾Ÿ¾Á¾°˜IkcIcIsI}II‡I‡III´I½IÈIÊIËIËI×IâIäIóIõIJ JJJ-J4J6J6J6J<J±¶ç¶ç¿çÂçÙçÙçðçè‚è‚è™è­èËèÍèåèøèøèûè²8¡!b!b7b@bJbUb^babkb³l 7STSTqTtT|T<00>T<00>T¥T¯TÆTÐTÒTñTöTUU U1U?UIUIUWU´47@lAlA€AœAžA©A«A«A³Aµˆ7U[U[U<00>U…UˆU˜U±U±UÄUÍUâUëUòU÷UV
¤¡8ak..<FP[ceek¢xÇá­­"­%­2­6­@­F­J­X­f­t­­<00>­ž­¬­µ­¼­£8„«†«Ž«¢«©«®«¶«¤,Ûâz<>z<>ƒ<><00><>Ž<><>¥4ÐÙ3x3xGxYxhxyxŒxxx¦ òö†÷†÷Š÷ª÷¬÷§t22¸2¸B¸N¸W¸h¸<00>¸³¸¸ϸã¸Ú¸¹¹¹ ¹¨Ì[Šƒû‘û—û¡û¡û®û´û¸û»û½ûÄûËûÕûáûêûþûü€ü<00>ü”ü«ü·ü¿üÁüÛüöüýý©Üø+##+/:HQg{œª¹Ùö+CRVamxÄÓÿ //=DVVdde{ªhaw‚º‚º¤ºªº³º³º¼º˺غ»»»»«$(-ª¨ª¨¸¨À¨Ò¨ب¬\gzšššš’š—šœš­<@Kˆ©’©–©›©§©¬©°©´©¾©®8ðú˥˥ϥ復¯ ¼‰½”½ª½¶½̽â½ê½ê½˜¾Ÿ¾Á¾°˜IkcIcIsI}II‡I‡III´I½IÈIÊIËIËI×IâIäIóIõIJ JJJ-J4J6J6J6J<J±¶ç¶ç¿çÂçÙçÙçðçè‚è‚è™è­èËèÍèåèøèøèûè²8¡!b!b7b@bJbUb^babkb³l 7STSTqTtT|T<00>T<00>T¥T¯TÆTÐTÒTñTöTUU U1U?UIUIUWU´47@lAlA€AœAžA©A«A«A³Aµˆ7U[U[U<00>U…UˆU˜U±U±UÄUÍUâUëUòU÷UV
VVVVV7VEVVVpV~VŽVŽV VhqÇì±ì±
²²‘²‘²‘²š²œ²œ²¥²§²§²°²²²²²»²½²½²Æ²È²È²Ñ²Ó²Ó²Ü²Þ²Þ²ç²é²é²ò²ò²õ²ú²ú²ú²ý²³ ³€³€³…³…³Ž³›³ ³ ³©³½³À³Å³Å³Î³Î³Ü³à³»´·4ÚˆÚˆèˆêˆïˆòˆõˆúˆ¸ ¢¦qbqbzb‡bŒb¹0X`ãYãYìYúYZZZZZº(ÉaÉaÝaèañaôaüa»p<00>ä<00>ä™ä™ä«ä±ä±ä¾äÊäçäååå å åååå¼ îîò½D©d©d½dÏdÖdÚdÝdèdðdeee¾<00>é–éœé¡é§éªé¸éÄéÇéÊéÖéÛéäéééðé ê êê¿h²È@Wau¯ÉÉß//;À\(†ð†ð<00>ð’ð§ð¯ðÇðÐð×ðäðäðûðññ ñÁ\r<00>Œ<00>Œ¦Œ­Œ¼ŒÃŒÌŒÌŒæŒñŒùŒ <0A><16><1C>'<27>'<27>E<>Â0ËÓ’¡’¡¦¡å¡ì¡ò¡ÿ¡¢¢ÃlKb?BPP\chkqt|<00><00><00>ŸÄ<ªµ¶õ¶õºõÃõÊõÓõÚõãõãõêõìõÅ4ºÃûBûBCC5CKC‡C•C™Cƈ:Xû—û—˜˜˜˜+˜4˜=˜F˜O˜c˜c˜n˜t˜v˜…˜<00>˜œ˜¥˜®˜Î˜Î˜Ð˜à˜æ˜ë˜Ç @ØyØyàyìyz(z,z;zGzUzdz©z©zÕzòzüz { {8{8{^{^{c{h{h{w{œ{·{Å{ç{ÿ{|#|9|=|?|?|Q|Q|S|S|c|u|u|y|~|‡|™| |®|½|õ|þ|}}}qÈ8Ž˜‚à‚à‘àŸà¶àºàºà¿à¿àÅàÉ<5@‚‰‚‰š‰©‰°‰µ‰À‰Õ‰Ø‰Ý‰é‰Ê´^Ç££®ÏÖåòÿ"2HUh˜¥®®Çê >C]q<00>˜¸ÁÉÒäö+>Xm¥ª¼ÎæöHS^xŒ˜¤¤©¹Çà
6=bb¾ÀÀÅàçòò&-BBSSV^˨'ƒ§Ž§™§¤§©§·§ŧÓ§ò§ý§¨¨†¨•¨—¨ ¨ª¨Ìhý..<Wco{<00>Ÿ¨±ºÃÌÕÞçððÍ0½Åww1wMwdwpwvw|wwÎL*£_£_²_À_À_Ê_Ô_ñ_ü_` ` ``Ï,r¹@@“@—@ž@¥@°@¸@¿@¿@Î@Ó@ß@ë@û@A$A)A1A8AIAcAwA~A<00>A<00>A³A¸AÊAÏAòAöAÿABB/B6BGBHBLBnBB”BŸB¬B¬B³BÕBæBìBöBÐ8s}$+25=ÑD<00>ŽŠ…Š…Ž…”…š… …¦…¬…²…¸…¾…Ä…Ê…Ì…ÒhÈ@H@HKHcHtHƒH<00>HH§H¿H×HçHúHI#I8INIXI}IIŒI<00>I¯IÆIÆIêIJJJ1JDJLJLJkJ{J™JÙJ¬J´JŸJÿJK K K:KOKmKwKŠKK}KÝKÝKÝKLL$L$L7LILQLdL|L<00>L—L—L¥L®L¹LÇLÎLÙLçLçLìLøLÓ<²½ c c-c1cJcackcucxcˆcÔ8§±bbµb¹bÒbébóböbcÕLíü®®ÊÖðù ,Ö Ÿ£r„r„v„<00>‘„×`L`©©â©î©ù©þ© ªªØ :#*4BBJl<00>¹Ðø+S]gu<00>¥®®ÐÚWÙ¼Y"+4>PSV[nq˜šš®®±´ÂÆÜâéðóø '''9ÚXËòËòæòîòùòóóóóÛ TX†î†îŠî“î•îÜ\"ee!e&e0e8eAeDeKeNeVe]eeeÝd\q  ¸Á‹Ü‹ë‹ŒŒŒ‚Œ‚ŒŽŒÞL&5CHCHRHZH_HkHrHtH€H‡HŠH<00>Hß<

Binary file not shown.