\u547d\u4ee4<\/a>loadunimap\u3002<\/p>\n%A<\/p>\n
%A\u7ecf\u8fc7conv_uni_to_pc()\u8f6c\u6362\u4ee5\u540e\uff0c\u201dhello,world.\\n\u201d\u4e2d\u7684\u5b57\u7b26\u88ab\u4e00\u4e2a\u4e00\u4e2a\u5730\u586b\u5199\u5230tty\u7684\u7f13\u51b2\u533a\u4e2d\u5d4c\u5165\u5f0flinux\uff0c\u4e4b\u540edo_con_write()\u8c03\u7528\u5e95\u5c42\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u628a\u7f13\u51b2\u533a\u4e2d\u7684\u5185\u5bb9\u8f93\u51fa\u5230\u663e\u793a\u5668\u4e0a\uff08\u4e5f\u5c31\u76f8\u5f53\u4e8e\u628a\u7f13\u51b2\u533a\u7684\u5185\u5bb9\u62f7\u8d1d\u5230VGA\u5185\u5b58\u4e2d\u53bb\uff09<\/p>\n
%A<\/p>\n
%Aw->conputcs(vc_cons[currcons].d,<\/p>\n
%A<\/p>\n
%A(u16*)draw_from,(u16*)draw_to_<\/p>\n
<\/p>\n
%A<\/p>\n
%A(u16*)draw_rwom,Y,draw_x);<\/p>\n
%A<\/p>\n
%A\u4e4b\u6240\u4ee5\u8981\u8c03\u7528\u5e95\u5c42\u9a71\u52a8\u7a0b\u5e8f,\u662f\u7531\u4e8e\u5b58\u5728\u4e0d\u540c\u7684\u663e\u793a\u8bbe\u5907,\u5176\u5bf9\u5e94VGA\u5185\u5b58\u7684\u5b58\u53d6\u65b9\u6cd5\u4e5f\u4e0d\u4e00\u6837\u3002<\/p>\n
%A<\/p>\n
%A\u524d\u9762\u7684Sw->con_putcs()\u90fd\u4f1a\u8c03\u7528fbcon.c\u4e2d\u7684fbcon_putcs()\u51fd\u6570(con_putcs\u662f\u4e00\u4e2a\u51fd\u6570\u7684\u8868\u9488\uff0c\u5728Framebuffer\u6a21\u5f0f)\u4e0b\u6307\u5411fbcon_putcs()\u51fd\u6570\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u5728do_con_write()\u51fd\u6570\u4e2d\u662f\u76f4\u63a5\u8c03\u7528\u4e86fbcon_putcs()\u51fd\u6570\u6765\u8fdb\u884c\u5b57\u7b26\u7684\u52fe\u753b\uff0c\u8b6c\u5982\u8bf4\u5728256\u8272\u6a21\u5f0f\u4e0b\uff0c\u771f\u6b63\u8d1f\u8d23\u8f93\u51fa\u7684\u51fd\u6570\u662f\uff1avoidfbcon_cfb8_putcs(structvc_data*conp,structdisplay*p,constunsigndeshort*s,intcount,intYY,intxx)<\/p>\n
%A<\/p>\n
%A\u663e\u793a\u82f1\u6587<\/p>\n
%A<\/p>\n
%A\u4f8b\u5982\u8bf4\u6211\u4eec\u8bd5\u8f93\u51fa\u4e00\u53e5\u82f1\u6587\uff1aputcs(\u60a8\u597d\\n\u201d)\uff08\u201c\u4f60\u597d\u201d\u7684\u5185\u7801\u4e3a0xc4.0xe3.0ba.0xc3\uff09\u3002\u8fd9\u65f6\u4faf\u4f1a\u600e\u6837\u6837\u5462\uff1f\u6709\u4e00\u70b9\u53ef\u4ee5\u80af\u5b9a\uff0c\u201c\u4f60\u597d\u201d\u80af\u5b9a\u4e0d\u4f1a\u51fa\u73b0\u5728\u5c4f\u5e55\u4e0a\uff0c\u7f18\u7531\u662f\uff1a<\/p>\n
%A<\/p>\n
%A1\u3001\u6838\u5fc3\u4e2d\u6ca1\u6709\u6c49\u5b57\u5b57\u5e93\uff0c\u82f1\u6587\u663e\u793a\u5c31\u662f\u65e0\u7c73\u4e4b\u708a\u4e86\u3002<\/p>\n
%A<\/p>\n
%A2\u3001\u5728\u8d1f\u8d23\u5b57\u7b26\u663e\u793a\u7684voidfbcon_cfb8_putcs()\u51fd\u6570\u4e2d\uff0c\u539f\u6709\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n
%A<\/p>\n
%A\u5bf9\u4e8e\u6bcf\u4f4d\u8981\u663e\u793a\u7684\u5b57\u7b26\uff0c\u4f9d\u6b21\u4ece\u865a\u62df\u7ec8\u7aef\u7f13\u51b2\u533a\u4e2d\u4ee5WORD\u4e3a\u5355\u4f4d\u8bfb\u53d6\uff08\u9ad8\u4f4d\u5b57\u8282\u662fASCII\u7801\uff0c\u9ad88\u4f4d\u662f\u5b57\u7b26\u7684\u5c5e\u6027\uff09\u3002\u56e0\u4e3a\u6c49\u5b57\u662f\u53cc\u5b57\u8282\u7f16\u7801\u65b9\u6cd5\uff0c\u6240\u4ee5\u8fd9\u4e9b\u64cd\u4f5c\u662f\u4e0d\u53ef\u80fd\u663e\u793a\u51fa\u6c49\u5b57\u7684\uff0c\u53ea\u80fd\u663e\u793a\u51faxxxx_putcs()\u8f93\u51fa\u7684\u662f\u4e00\u4e2a\u4e00\u4e2a\u7684VGA\u5b57\u7b26\u3002<\/p>\n
%A<\/p>\n
%A\u4e3a\u6b64\uff0c\u8981\u89e3\u51b3\u7684\u95ee\u9898\uff1a\u786e\u4fdd\u5728\u8c03\u7528do_con_write()\u65f6\u8fdb\u884cuni_pc\u8f6c\u6362\u4e0d\u4f1a\u6539\u53d8\u539f\u6709\u7f16\u7801\uff0c\u4e00\u4e2a\u5f88\u76f4\u63a5\u7684\u5b9e\u73b0\u65b9\u6cd5\u5c31\u662f\u52a0\u8f7d\u4e00\u4e2a\u6211\u4eec\u81ea\u5df1\u8ba2\u5236\u7684Unicode\u6620\u5c04\u8868\uff0cloadunimapdirdct.uni\uff0c\u6216\u5219\u8fdb\u63a5\u628adirect.uni\u8bbe\u7f6e\u4e3a\u6838\u5fc3\u7684\u7f3a\u7701\u6620\u5c04\u8868\u3002<\/p>\n
%A<\/p>\n
%A\u9488\u5bf9\u4ee5\u4e0a\u95ee\u9898\uff0c\u6211\u4eec\u8981\u505a\u7684\u7b2c\u4e00\u4e2a\u5c1d\u8bd5\u65b9\u6848\u5982\u4e0b\uff1a<\/p>\n
%A<\/p>\n
%A\u9996\u5148\u987b\u8981\u5728\u6838\u5fc3\u4e2d\u52a0\u8f7d\u6c49\u5b57\u5b57\u5e93\uff0c\u4e4b\u540e\u66f4\u6539fbcon_cfb8_putcs()\u51fd\u6570\uff0c\u5728fbcon_cfb8_putcs()\u4e2d\u4e00\u6b21\u8bfb\u4e24\u4e2aWORD\uff0c\u68c0\u6d4b\u8fd9\u4e24\u4e2aWORD\u7684\u9ad8\u4f4d\u5b57\u8282\u662f\u5426\u80fd\u62fc\u6210\u4e00\u4e2a\u6c49\u5b57\uff0c\u5047\u5982\u53d1\u89c9\u80fd\u62fc\u6210\u4e00\u4e2a\u6c49\u5b57\uff0c\u5373\u4f7f\u51fa\u8fd9\u4e2a\u6c49\u5b57\u5728\u6c49\u5b57\u5b57\u5e93\u7684\u7684\u504f\u659c\uff0c\u4e4b\u540e\u628a\u5b83\u5f53\u4f5c\u4e2a16\u00d716\u7684VGA\u5b57\u7b26\u6765\u663e\u793a\u3002<\/p>\n
%A<\/p>\n
%A\u8bd5\u9a8c\u7684\u7ed3\u679c\u8868\u660e\uff1a<\/p>\n
%A<\/p>\n
%A1\u3001\u80fd\u591f\u8f93\u51fa\u6c49\u5b57\uff0c\u4f46\u4ecd\u6709\u8bb8\u591a\u4e0d\u7406\u60f3\u7684\u5730\u65b9\uff0c\u4f8b\u5982\u8bf4\uff0c\u8f93\u51fa\u4ee5\u534a\u4e2a\u6c49\u5b57\u5f00\u59cb\u7684\u4e00\u4e32\u6c49\u5b57\uff0c\u5219\u8fd9\u534a\u4e2a\u6c49\u5b57\u65c1\u8fb9\u7684\u6c49\u5b57\u5c31\u4f1a\u662f\u4e71\u7801\uff0c\u8fd9\u662f\u201c\u534a\u4e2a\u6c49\u5b57\u201d\u7684\u95ee\u9898\u3002<\/p>\n
%A<\/p>\n
%A2\u3001\u5149\u6807\u8054\u901a\u4f1a\u7834\u574f\u6c49\u5b57\u7684\u663e\u793a\uff0c\u8868\u73b0\u4e3a\uff0c\u5149\u6807\u8054\u901a\u8fc7\u7684\u6c49\u5b57\u4f1a\u5f04\u6210\u4e71\u7801\uff0c\u8fd9\u662f\u7531\u4e8e\u5149\u6807\u7684\u66f4\u65b0\u662f\u901a\u8fc7xxxx_putc()\u51fd\u6570\u6765\u5b8c\u6210\u7684\u3002<\/p>\n
%A<\/p>\n
%Axxxx_putc()\u51fd\u6570\u4e0exxxx_putcs()\u51fd\u6570\u5b9e\u73b0\u7684\u529f\u624d\u80fd\u7c7b\u4f3c\uff0c\u800c\u4e14xxxx_()\u51fd\u6570\u53ea\u5237\u65b0\u4e00\u4e2a\u5b57\u7b26\u800c\u4e0d\u662f\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u4ece\u800cxxxx_putc()\u7684\u8f93\u5165\u53c2\u6570\u662f\u4e00\u4e2a\u6574\u6570\uff0c\u800c\u4e0d\u662f\u4e00\u4e2a\u5b57\u7b26\u4e32\u7684\u5730\u5740\uff0cxxxx_putc()\u51fd\u6570\u7684\u7533\u660e\u5982\u4e0b\uff1a<\/p>\n
%A<\/p>\n
%Avoidfbcon_cfb8_putc(structvc_data*conp,structdisplay*p,intc,intYY,intxx)<\/p>\n
%A<\/p>\n
%A\u4e0b\u4e00\u4e2a\u5c1d\u8bd5\u65b9\u6848\u5c31\u662f\u540c\u65f6\u66f4\u6539xxxx_putc()\u51fd\u6570\u548cxxxx_putc()\u51fd\u6570\u4e3a\u4e86\u89e3\u51b3\u534a\u4e2a\u6c49\u5b57\u7684\u95ee\u9898\uff0c\u6bcf\u4e00\u6b21\u8f93\u51fa\u4e4b\u524d\uff0c\u90fd\u4ece\u5c4f\u5e55\u5f53\u524d\u884c\u7684\u8d77\u59cb\u4f4d\u7f6e\u5f00\u59cb\u6253\u63aa\uff0c\u4ee5\u786e\u5b9a\u8981\u8f93\u51fa\u7684\u5b57\u7b26\u662f\u5426\u843d\u5728\u534a\u4e2a\u6c49\u5b57\u7684\u4f4d\u7f6e\u4e0a\uff0c\u5047\u5982\u662f\u5728\u534a\u4e2a\u6c49\u5b57\u7684\u4f4d\u7f6e\u4e0a\uff0c\u5047\u5982\u662f\u5728\u534a\u4e2a\u6c49\u5b57\u7684\u4f4d\u7f6e\uff0c\u5219\u8fdb\u884c\u76f8\u5e94\u7684\u8c03\u6574\uff0c\u5373\u4ece\u5f80\u524d\u8054\u901a\u4e00\u4e2a\u5b57\u8282\u7684\u4f4d\u7f6e\u5f00\u59cb\u8f93\u51fa\u3002<\/p>\n
%A<\/p>\n
%A\u8fd9\u4e2a\u65b9\u6848\u6709\u4e00\u4e2a\u56f0\u96be\uff0c\u5373xxxx_putc()\u51fd\u6570\u4e0d\u7528\u7f13\u51b2\u533a\u7684\u5730\u5740\uff0c\u800c\u662f\u7528\u4e00\u4e2a\u6574\u6570\u4f5c\u4e3a\u53c2\u6570\uff0c\u6240\u4ee5xxxx_putc()\u96be\u4ee5\u76f4\u63a5\u501f\u52a9\u76f8\u90bb\u7684\u5b57\u7b26\u6765\u5224\u65ad\u8be5\u5b57\u7b26\u662f\u5426\u662f\u6c49\u5b57\u3002<\/p>\n
%A<\/p>\n
%A\u89e3\u51b3\u65b9\u6848\u662f\uff0c\u501f\u52a9xxxx_putc()\u7684\u5149\u6807\u4eec\u7f6e\u53c2\u6570\uff08yy,xx\uff09\uff0c\u53ef\u4ee5\u9006\u63a8\u51fa\u8be5\u5b57\u7b26\u5728\u7f13\u51b2\u533a\u4e2d\u7684\u4f4d\u7f6e\uff0c\u4f46\u4ecd\u4e00\u4e9b\u5c0f\u9ebb\u70e6\uff0c\u5728Linux\u7684\u865a\u62df\u7ec8\u7aef\u4e0b\uff0c\u7528\u6237\u53ef\u80fd\u4f1a\u4e0b\u5377\u8be5\u5c4f\u5e55(Shift+Pageup)\uff0c\u9020\u6210\u5149\u6807\u7684y\u5750\u6807\u548c\u76f8\u5e94\u5b57\u7b26\u5728\u7f13\u51b2\u533a\u7684\u884c\u6570\u4e0d\u4e00\u81f4\uff0c\u76f8\u5e94\u7684\u89e3\u51b3\u65b9\u6848\u662f\uff0c\u5728\u9006\u63a8\u7684\u8fc7\u7a0b\u4e2d\uff0c\u8003\u8651\u5728\u5c4f\u7684\u70ed\u963b\u3002<\/p>\n
%A<\/p>\n
%A\u8fd9\u6837\u4e00\u6765\uff0c\u6211\u4eec\u5c31\u53c8\u8fdb\u4e86\u4e00\u6b65\uff0c\u5f97\u5230\u4e86\u4e00\u4e2a\u76f8\u5bf9\u66f4\u597d\u7684\u7248\u672c\u3002\u4f46\u4ecd\u6709\u95ee\u9898\u6ca1\u6709\u89e3\u51b3\uff0c\u6572\u5165turbonetcfg\uff0c\u4f1a\u53d1\u89c9\u83dc\u5355\u7684\u8fb9\u6846\u5b57\u7b26\u4e5f\u88ab\u5f53\u4f5c\u6c49\u5b57\u663e\u793a\uff0c\u8fd9\u662f\u7531\u4e8e\uff0c\u8fd9\u4e9b\u8fb9\u6846\u5b57\u7b26\u662f\u6269\u5145\u5b57\u7b26\uff0c\u4e5f\u4f7f\u7528\u4e86\u5b57\u7b26\u7684\u4f4e8\u4f4d\uff0c\u56e0\u6b64\u88ab\u5f53\u505a\u6c49\u5b57\u663e\u793a\uff0c\u8fd9\u662f\u7531\u4e8e\uff0c\u8fd9\u4e9b\u8fb9\u6846\u5b57\u7b26\u662f\u6269\u5145\u5b57\u7b26\uff0c\u4e5f\u4f7f\u7528\u4e86\u5b57\u7b26\u7684\u4f4e8\u4f4d\uff0c\u56e0\u6b64\u88ab\u5f53\u6210\u6c49\u5b57\u6765\u8d64\u793a\u3002\u8bf8\u5982\uff0c\u5355\u7ebf\u201c\u2015\u201d\u7684\u5236\u8868\u7b26\u5185\u7801\u4e3a0xC4\uff0c\u5f53\u8fde\u6210\u4e00\u6761\u957f\u7ebf\u65f6\u5c31\u662f\u7531\u4e00\u8fde\u4e320xC4\u7ec4\u6210\u7684\uff0c\u800c0Xc4c4\u6b63\u662f\u6c49\u5b57\u201c\u54ea\u201d\uff0c\u4e8e\u662f\u6c34\u5e73\u7684\u5236\u8868\u7b26\u88ab\u4e00\u8fde\u4e32\u7684\u201c\u54ea\u201d\u5b57\u4ee3\u66ff\u4e86\uff0c\u7531\u4e8e\u5236\u8868\u7b26\u7684\u79cd\u7c7b\u6bd4\u8f83\u591a\uff0c\u4f46\u662f\u5782\u76f4\u5236\u8868\u7b26\u4e0e\u5176\u524d\u9762\u5b57\u7b26\u7684\u7ec4\u5408\u65b9\u5f0f\u53c8\u591a\u79cd\u591a\u6837\uff0c\u56e0\u6b64\u5f88\u96be\u5224\u522b\u51fa\u76f8\u5e94\u4f4d\u7f6e\u7684\u5b57\u7b26\u662f\u4e0d\u662f\u5236\u8868\u7b26\uff0c\u4ece\u7406\u8bba\u4e0a\u8bf4\uff0c\u65e0\u8bba\u91c7\u53d6\u54ea\u4e9b\u6837\u7684\u6392\u9664\u7b97\u6cd5\uff0c\u90fd\u5fc5\u7136\u5b58\u5728\u9519\u5224\u7684\u60c5\u51b5\uff0c\u7531\u4e8e\u603b\u5b58\u5728\u4e8c\u4e49\u6027\uff0c\u6ca1\u6709\u5145\u8db3\u7684\u6761\u4ef6\u6765\u63a8\u7b97\u51fa\u5f53\u524d\u5b57\u7b26\u5230\u5e95\u662f\u5236\u8868\u7b26\u8fd8\u662f\u6c49\u5b57\u3002<\/p>\n
%A<\/p>\n
%A\u6211\u4eec\u4e00\u65b9\u9762\u627e\u5bfb\u66f4\u597d\u7684\u6392\u9664\u7ec4\u5408\u7b97\u6cd5\uff0c\u4e00\u65b9\u9762\u4f01\u56fe\u627e\u5bfb\u5176\u4ed6\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8981\u60f3\u4ece\u6839\u672c\u4e0a\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u5fc5\u987b\u501f\u52a9\u5176\u4ed6\u7684\u8f85\u52a9\u4fe1\u606f\uff0c\u4ec5\u4ec5\u501f\u52a9\u7f13\u51b2\u533a\u7684\u5b57\u7b26\u6765\u5224\u5b9a\u662f\u4e0d\u591f\u7684\u3002<\/p>\n
%A<\/p>\n
%A\u7ecf\u8fc7\u4e00\u756a\u52aa\u529b\uff0c\u6211\u4eec\u53d1\u89c9\uff0c\u5728UNIX\u4e2d\u4f7f\u7528\u6269\u5145\u5b57\u7b26\u65f6\uff0c\u90fd\u8981\u5148\u8f93\u51fa\u5b57\u7b26\u901a\u914d\u7b26\u5e8f\u5217\uff08Escapesepuence\uff09\u6765\u5207\u6362\u5f53\u524d\u5b57\u7b26\u96c6\u3002\u5b57\u7b26\u901a\u914d\u7b26\u5e8f\u5217\u662f\u4ee5\u63a7\u5236\u5b57\u7b26Ecs\u4e3a\u9996\u7684\u63a7\u5236\u547d\u4ee4\uff0c\u5728UNIX\u7684\u865a\u62df\u7ec8\u7aef\u4e2d\u5b8c\u6210\u7ec8\u7aef\u63a7\u5236\u547d\u4ee4\uff0c\u8fd9\u4e9b\u547d\u4ee4\u5305\u62ec\u8054\u901a\u5149\u6807\u5750\u6807\u3001\u5377\u5c4f\u3001\u5220\u9664\u3001\u5207\u6362\u5b57\u7b26\u96c6\u7b49\u7b49\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5728\u8f93\u51fa\u4ee3\u8868\u5236\u8868\u7684\u5b57\u7b26\u4e32\u4e4b\u524d\uff0c\u4e00\u822c\u662f\u8981\u5148\u8f93\u51fa\u7279\u5b9a\u7684\u5b57\u7b26\u901a\u914d\u7b26\u5e8f\u5217\uff0c\u5728console.c\u91cc\uff0c\u6709\u6309\u7167\u5b57\u7b26\u901a\u914d\u7b26\u5e8f\u5217\u547d\u4ee4\u6765\u8bb0\u5f55\u5b57\u7b26\u72b6\u6001\u7684\u53d8\u91cf\uff0c\u7ed3\u5408\u8be5\u53d8\u91cf\u63d0\u4f9b\u7684\u4fe1\u606f\uff0c\u5c31\u53ef\u4ee5\u5341\u5206\u786e\u5207\u5730\u628a\u5236\u8868\u7b26\u4e0e\u6c49\u5b57\u533a\u522b\u5f00\u6765\u3002<\/p>\n
%A<\/p>\n
%A\u5728\u5982\u4e0a\u601d\u8def\u7684\u6307\u5f15\u4e0b\uff0c\u6211\u4eec\u53c8\u5f62\u6210\u4e86\u65b0\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u7ecf\u8fc7\u6539\u52a8\u5f97\u5230\u4e86\u53e6\u4e00\u7248\u672c\u3002<\/p>\n
%A<\/p>\n
%A\u5728\u8fd9\u4e2a\u65b0\u7684\u7248\u672c\u4e0a\uff0cturbonetcfg\u5728\u521d\u6b21\u52fe\u753b\u7684\u65f6\u4faf\uff0c\u5236\u8868\u7b26\u4e0e\u6c49\u5b57\u88ab\u6e05\u6670\u5730\u5206\u8fa8\u5f00\uff0c\u4f46\u8fd8\u6709\u95ee\u9898\uff1aturbonetcfg\u5728\u91cd\u753b\u7684\u65f6\u4faf\uff08\u5982\u5207\u6362\u865a\u62df\u7ec8\u7aef\u6216\u662f\u8054\u901a\u952e\u76d8\u5149\u6807\u7684\uff09\uff0c\u5236\u8868\u7b26\u8fd8\u662f\u5f04\u6210\u4e86\u6c49\u5b57linux\u4fee\u6539\u5185\u6838\u53c2\u6570<\/strong>\uff0c\u7531\u4e8e\u91cd\u753b\u5b8c\u5168\u886c\u886b\u4e8e\u7f13\u51b2\u533a\uff0c\u800c\u8fd9\u65f6\u62ff\u6765\u8bb0\u5f55\u5b57\u7b26\u96c6\u72b6\u6001\u7684\u53d8\u91cf\u5e76\u4e0d\u53cd\u6620\u5f53\u524d\u5b57\u7b26\u96c6\u72b6\u6001\u3002\u95ee\u9898\u8fd8\u662f\u6ca1\u6709\u6700\u7ec8\u89e3\u51b3\uff0c\u6211\u4eec\u53c8\u56de\u5230\u4e86\u8d77\u70b9\u3002<\/p>\n%A<\/p>\n
%A\u770b\u6765\u95ee\u9898\u7684\u6700\u7ec8\u89e3\u51b3\u624b\u6bb5\u5fc5\u987b\u662f\u628a\u5b57\u7b26\u96c6\u7684\u72b6\u6001\u4f34\u968f\u7740\u6bcf\u4e00\u4e2a\u5b57\u7b26\u5728\u7f13\u51b2\u533a\u4e2d\uff0c\u8ba9\u6211\u4eec\u6765\u7814\u7a76\u4e00\u4e0b\u7f13\u51b2\u533a\u7684\u7ed3\u6784\u3002<\/p>\n
%A<\/p>\n
%A\u6bcf\u4e00\u4e2a\u5b57\u7b26\u5360\u752816\u4f4d\u7684\u7f13\u51b2\u533a\uff0c\u4f4e6\u30018\u4f4d\u662fASCII\u503c\uff0c\u5b8c\u5168\u88ab\u501f\u52a9\uff0c\u9ad88\u4f4d\u996e\u98df\u524d\u91cf\u989c\u8272\u548c\u80cc\u666f\u989c\u8272\u7684\u5c5e\u6027\uff0c\u4e5f\u6ca1\u6709\u591a\u4f59\u7684\u7a7a\u95f4\u53ef\u4ee5\u501f\u52a9\uff0c\u56e0\u6b64\u53ea\u80fd\u53e6\u5916\u5f00\u8f9f\u65b0\u7684\u7f13\u51b2\u533a\u3002\u4e3a\u4e86\u4fdd\u6301\u4e00\u81f4\u6027\uff0c\u6211\u4eec\u51b3\u5b9a\u5728\u539f\u5148\u7684\u7f13\u51b2\u533a\u524d\u9762\u6dfb\u52a0\u76f8\u540c\u5927\u5c0f\u7684\u7f13\u51b2\u533a\uff0c\u62ff\u6765\u50a8\u5b58\u662f\u5426\u6c49\u5b57\u7684\u4fe1\u606f\u3002<\/p>\n
%A<\/p>\n
%A\u4f3c\u4e4e\u6709\u8bfb\u8005\u4f1a\u95ee\uff0c\u53ea\u987b\u8981\u4e3a\u6bcf\u4f4d\u5b57\u7b26\u6dfb\u52a0\u4e00\u4f4d\u4fe1\u606f\u6765\u6807\u5fd7\u662f\u5426\u662f\u6c49\u5b57\u5c31\u8db3\u591f\u4e86\uff0c\u4e3a\u4f55\u8fd8\u8981\u5f00\u8f9f\u4e0e\u539f\u7f13\u51b2\u533a\u5927\u5c0f\u76f8\u540c\u7684\u53cc\u500d\u7f13\u51b2\u533a\uff0c\u8fd9\u662f\u4e0d\u662f\u592a\u6d6a\u8d39\u5462\uff1f<\/p>\n
%A<\/p>\n
%A\u6211\u4eec\u5148\u653e\u4e0b\u8fd9\u4e2a\u95ee\u9898\uff0c\u7a0d\u540e\u518d\u4f5c\u56de\u7b54\u3002<\/p>\n
%A<\/p>\n
%A\u867d\u7136\uff0c\u5047\u5982\u518d\u6dfb\u52a0\u4e00\u4f4d\u6765\u6807\u5fd7\u5f53\u524d\u5b57\u7b26\u662f\u6c49\u5b57\u7684\u5de6\u534a\u8fb9\u8fd8\u662f\u5386\u534a\u8fb9\u7684\u8bdd\uff0c\u8fd8\u4f1a\u7701\u53bb\u626b\u63cf\u5c4f\u5e55\u4e0a\u5f53\u524d\u6574\u884c\u5b57\u7b26\u4e32\u7684\u5de5\u4f5c\uff0c\u8fd9\u6837\u4e00\u6765\uff0c\u7f16\u7a0b\u4f1a\u66f4\u7b80\u5355\uff0c\u5e76\u4e14\u6709\u8bfb\u8005\u4f1a\u95ee\uff0c\u867d\u7136\u662f\u8fd9\u6837\uff0c\u4f7f\u75288\u4f4d\u603b\u591f\u7528\u4e86\u5427\uff1f\u4e3a\u4f55\u8fd8\u8981\u4f7f\u752816\u4f4d\u5462\uff1f<\/p>\n
%A<\/p>\n
%A\u6211\u4eec\u7684\u505a\u6cd5\u662f\uff1a\u7528\u4f4e8\u4f4d\u6765\u50a8\u5b58\u6c49\u5b57\u53e6\u5916\u4e00\u534a\u7684\u5185\u7801\uff0c\u7528\u9ad88\u4f4d\u4e2d\u76842\u4f4d\u6765\u50a8\u5b58\u524d\u9762\u6240\u8bb2\u7684\u8f85\u52a9\u4fe1\u606f\uff0c\u9ad88\u4f4d\u7684\u5269\u4f596\u4f4d\u53ef\u4ee5\u62ff\u6765\u50a8\u5b58\u6c49\u5b57\u6216\u5176\u4ed6\u7f16\u7801\u65b9\u6cd5\uff08\u5982BIG5\u6216\u82f1\u6587\u3001\u97e9\u6587\uff09\u7684\u4fe1\u606f\uff0c\u8fdb\u800c\u4f7f\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u540c\u5c4f\u663e\u793a\u591a\u79cd\u53cc\u5b57\u8282\u8bed\u8a00\u7684\u5b57\u7b26\u800c\u4e0d\u4f1a\u4e92\u76f8\u5e72\u6270\u3002\u53e6\u5916\uff0c\u5728\u7f16\u7a0b\u65f6\uff0c\u53cc\u500d\u7f13\u51b2\u4e5f\u6bd4\u8f83\u5bb9\u6613\u4f30\u7b97\u3002\u8fd9\u6837\u6211\u4eec\u5c31\u56de\u7b54\u4e86\u5982\u4e0a\u7684\u4e24\u4e2a\u95ee\u9898\u3002<\/p>\n
%A<\/p>\n
%A\u8fc4\u4eca\u4e3a\u6b62\uff0c\u6211\u4eec\u6709\u4e86\u4e00\u5957\u5f7b\u5e95\u89e3\u51b3\u6c49\u5b57\u548c\u5236\u8868\u7b26\u4e92\u76f8\u5e72\u6270\uff0c\u534a\u4e2a\u6c49\u5b57\u7684\u5237\u65b0\u3001\u91cd\u7ed8\u7b49\u95ee\u9898\u7684\u65b9\u6848\u3002\u5269\u4e0b\u7684\u5c31\u662f\u5177\u4f53\u7f16\u7a0b\u6765\u5b9e\u73b0\u7684\u95ee\u9898\u4e86\u3002<\/p>\n
%A<\/p>\n
%A\u5e76\u4e14\uff0c\u56e0\u4e3aFramebuffer\u7684\u9a71\u52a8\u7a0b\u5e8f\u597d\u591a\uff0c\u66f4\u6539\u6bcf\u4e00\u4e2a\u9a71\u52a8\u7a0b\u5e8f\u7684xxxx_putc()\u51fd\u6570\u548cxxxx_putcs()\u51fd\u6570\u4f1a\u662f\u4e00\u9879\u4e0d\u5c0f\u7684\u5de5\u4f5c\uff0c\u4f46\u662f\uff0c\u6539\u52a8\u9a71\u52a8\u7a0b\u5e8f\u540e\uff0c\u6bcf\u79cd\u9a71\u52a8\u7a0b\u5e8f\u7684\u6d4b\u8bd5\u4e5f\u662f\u5f88\u9ebb\u70e6\u7684linux\u4fee\u6539\u5185\u6838\u53c2\u6570<\/strong>\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u6709\u786c\u4ef6\u52a0\u901f\u7684\u4e3b\u677f\uff0c\u66f4\u6539\u548c\u6d4b\u8bd5\u4f1a\u66f4\u4e0d\u5bb9\u6613\u3002<\/p>\n%A<\/p>\n
%A\u8fd9\u4e48\uff0c\u662f\u5426\u5b58\u5728\u4e00\u79cd\u4e0d\u987b\u8981\u66f4\u6539\u4e3b\u677f\u9a71\u52a8\u7a0b\u5e8f\u7684\u65b9\u5f0f\u5462\uff1f\u7ecf\u8fc7\u4e00\u756a\u52aa\u529b\uff0c\u6211\u4eec\u53d1\u89c9\uff0c\u53ef\u4ee5\u8c03\u7528xxxx_putcs()\u6216xxxx_putc()\u51fd\u6570\u8f93\u51fa\u6c49\u5b57\u4e4b\u524d\uff0c\u66f4\u6539VGA\u5b57\u5e93\u8868\u9488\u4f7f\u5176\u6307\u5411\u6240\u9700\u663e\u793a\u7684\u6c49\u5b57\u5728\u6c49\u5b57\u5b57\u5e93\u4e2d\u7684\u4f4d\u7f6e\uff0c\u5373\u628a\u4e00\u4e2a\u6c49\u5b57\u5f53\u4f5c\u4e24\u4e2aVGAASCII\u5b57\u7b26\u8f93\u51fa\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5728\u5185\u6838\u4e2d\u5b58\u5728\u4e24\u4e2a\u5b57\u5e93\uff0c\u4e00\u4e2a\u662f\u539f\u6709\u7684VGA\u5b57\u7b26\u5b57\u5e93\uff0c\u53e6\u4e00\u4e2a\u662f\u6c49\u5b57\u5b57\u5e93\uff0c\u5f53\u6211\u4eec\u987b\u8981\u8f93\u51fa\u6c49\u5b57\u7684\u65f6\u4faf\uff0c\u5c31\u628aVGA\u5b57\u5e93\u7684\u8868\u9488\u6307\u5411\u6c49\u5b57\u5b57\u5e93\u7684\u76f8\u5e94\u4f4d\u7f6e\uff0c\u6c49\u5b57\u8f93\u51fa\u5b8c\u4ee5\u540e\uff0c\u518d\u628a\u8be5\u8868\u9488\u6307\u5411VGA\u5b57\u5e93\u7684\u539f\u6709\u4f4d\u7f6e\u3002<\/p>\n
%A<\/p>\n
%A\u8fd9\u6837\u4e00\u6765\uff0c\u6211\u4eec\u5c31\u53ea\u987b\u8981\u66f4\u6539fbcon..c\u548cconsole.c\uff0c\u5176\u4e2dconsole.c\u8d1f\u8d23\u7ef4\u62a4\u53cc\u500d\u7f13\u51b2\u533a\uff0c\u628a\u6bcf\u4e00\u4e2a\u5b57\u7b26\u7684\u4fe1\u606f\u5b58\u5165\u9644\u52a0\u7684\u7f13\u51b2\u533a\u4e2d\uff1b\u800cfbcon.c\u8d1f\u8d23\u501f\u52a9\u53cc\u500d\u7f13\u51b2\u533a\u4e2d\u7684\u9644\u52a0\u7684\u4fe1\u606f\uff0c\u8c03\u517bVGA\u5b57\u5e93\u7684\u8868\u9488\uff0c\u8c03\u7528\u5e95\u5c42\u7684\u663e\u793a\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n
%A<\/p>\n
%A\u8fd9\u513f\u8fd8\u6709\u51e0\u4e2a\u987b\u8981\u6ce8\u610f\u7684\u5730\u65b9\uff1a<\/p>\n
%A<\/p>\n
%A1\u3001\u7531\u4e8e\u5c4f\u5e55\u91cd\u753b\u7b49\u8bf1\u56e0\uff0c\u8c03\u7528\u5e95\u5c42xxxx_putc()\u548cxxxx_putcs()\u7684\u5730\u65b9\u6709\u591a\u5904\uff0c\u6211\u4eec\u505a\u4e86\u4e24\u4e2a\u51fd\u6570\u5206\u522b\u9990\u8fd9\u4e24\u4e0a\u8c03\u7528\uff0c\u5b8c\u6210\u66ff\u6362\u5b57\u5e93\u3001\u8c03\u7528xxxx_putcs()\u6216xxxx_putc()\u3001\u6062\u590d\u5b57\u5e93\u7b49\u529f\u80fd\u3002<\/p>\n
%A<\/p>\n
%A2\u3001\u4e3a\u4e86\u5b9e\u73b0\u5411\u4e0b\u6eda\u5c4f\u65f6\u4e5f\u80fd\u89c1\u5230\u6c49\u5b57\uff0c\u6211\u4eec\u987b\u8981\u4f5c\u53e6\u5916\u7684\u66f4\u6539\u3002Linux\u5728\u8bbe\u8ba1\u865a\u62df\u7ec8\u7aef\u7684\u65f6\u4faf\uff0c\u63d0\u4f9b\u4e86\u56de\u987e\u88ab\u6eda\u7c97\u5c4f\u5e55\u4ee5\u5916\u7684\u4fe1\u606f\u7684\u529f\u80fd\uff0c\u8fd9\u5c31\u662f\u7528\u952e\u4f4d\u6765\u5411\u4e0b\u6eda\u5c4f\uff08Shift+Pageup\uff09\u3002\u5f53\u524d\u88ab\u4f7f\u7528\u7684\u864e\u865a\u62df\u7ec8\u7aef\u7684\u65f6\u4faf\uff0c\u516c\u5171\u7f13\u51b2\u533a\u7684\u5185\u5bb9\u4f1a\u88ab\u6d88\u9664\u800c\u88ab\u65b0\u7684\u865a\u62df\u7ec8\u7aef\u4f7f\u7528\uff0c\u5411\u4e0b\u6eda\u5c4f\u7684\u65f6\u4faf\uff0c\u663e\u793a\u7684\u662f\u516c\u5171\u7f13\u51b2\u533a\u4e2d\u7684\u5185\u5bb9\u3002\u4e3a\u6b64\uff0c\u5047\u5982\u6211\u4eec\u60f3\u5728\u5411\u4e0b\u6eda\u5c4f\u7684\u65f6\u4faf\u89c1\u5230\u6c49\u5b57\uff0c\u5219\u516c\u5171\u7f13\u51b2\u533a\u4e5f\u5fc5\u987b\u52a0\u500d\uff0c\u4ee5\u786e\u4fdd\u6ca1\u6709\u4fe1\u606f\u9057\u5931\u3002\u5f53\u6eda\u7c97\u5c4f\u5e55\u7684\u4f4f\u5904\u5411\u516c\u5171\u7f13\u51b2\u533a\u586b\u5199\u7684\u65f6\u4faf\uff0c\u5fc5\u987b\u628a\u76ef\u5e94\u7684\u9644\u52a0\u4fe1\u606f\u4e5f\u586b\u5199\u8fdb\u516c\u5171\u7f13\u51b2\u533a\u7684\u9644\u52a0\u533a\u57df\u4e2d\uff0c\u8fd9\u5c31\u8981\u6c42fbcon.c\u5fc5\u987b\u61c2\u5f97\u501f\u52a9\u516c\u5171\u7f13\u51b2\u533a\u7684\u9644\u52a0\u4fe1\u606f\u3002\u5176\u5b9e\uff0c\u53e6\u5916\u6709\u4e00\u5904\u5077\u61d2\u7684\u65b9\u5f0f\uff0c\u90a3\u5c31\u662f\u4e0d\u5bb9\u8bb8\u7528\u6237\u5411\u4e0b\u6eda\u5c4f\uff0c\u8fdb\u800c\u9632\u6b62\u5bf9\u516c\u533a\u7f13\u51b2\u533a\u7684\u5904\u7406\u3002<\/p>\n
%A<\/p>\n
%A3\u3001\u628a\u4e0d\u540c\u7684\u7f16\u7801\u65b9\u6cd5\uff08GB\u3001BIG5\u3001\u65e5\u6587\u548c\u82f1\u6587\uff09\u5199\u6210\u4e0d\u540c\u7684\u6a21\u5757\uff0c\u4ee5\u5b9e\u73b0\u52a8\u6001\u52a0\u8f7d\uff0c\u8fdb\u800c\u4fc3\u4f7f\u6269\u5145\u65b0\u7684\u7f16\u7801\u65b9\u6cd5\u4e0d\u987b\u8981\u91cd\u65b0\u7f16\u8bd1\u6838\u5fc3\u3002<\/p>\n
%A<\/p>\n
%A\u5c0f\u7ed3<\/p>\n
%A<\/p>\n
%A\u901a\u8fc7\u6b64\u6b21\u9488\u5bf9inux\u6838\u5fc3\u7684\u63a2\u6c42linux\u64cd\u4f5c\u7cfb\u7edf\u8bba\u6587\uff0c\u6211\u4eec\u53d1\u89c9\uff0c\u76ee\u524dLinux\u7684\u6838\u5fc3\u8bbe\u8ba1\u4e2d\uff0c\u5b8c\u5168\u6ca1\u6709\u8003\u8651\u5230\u53cc\u5b57\u8282\u7f16\u7801\u5b57\u7b26\u7684\u663e\u793a\uff0c\u6211\u4eec\u5728\u8fd9\u4e9b\u60c5\u51b5\u4e0b\u6478\u7d22\u51fa\u4e00\u5957\u89e3\u51b3\u6838\u5fc3\u6c49\u5b57\u663e\u793a\u7684\u65b9\u5f0f\uff0c\u5e76\u7f16\u7801\u5b9e\u73b0\u4e86\u8be5\u65b9\u6848\u3002\u9075\u5b88\u6838\u5fc3\u7684GPL\u7248\u6743\u7533\u660e\uff0c\u6211\u4eec\u540c\u65f6\u516c\u5e03\u4e86\u5b9e\u73b0\u8fd9\u4e00\u6280\u672f\u7684\u6e90\u4ee3\u7801\uff0c\u5176\u5b9e\uff0c\u8fd9\u79cd\u6539\u52a8\u4e00\u76f4\u662fGPL\u7684\u3002\u5018\u82e5\u80fd\u5bf9\u7814\u7a76\u6838\u5fc3\u7684\u540c\u5b66\u6709\u6240\u5e2e\u52a9\uff0c\u517b\u6d3b\u4e00\u4e9b\u4f60\u4eec\u5bf9\u6838\u5fc3\u7684\u795e\u79d8\u611f\uff0c\u5c06\u662f\u6211\u4eec\u6700\u5927\u7684\u6536\u83b7\u3002<\/p>\n
%A<\/p>\n
%A\u5e76\u4e14\u5bf9\u6838\u5fc3\u548c\u82f1\u6587\u5316\u6765\u8bf4\uff0c\u8fd9\u4ec5\u4ec5\u662f\u4e00\u79cd\u5c1d\u8bd5\uff0c\u8fdc\u4e0d\u662f\u7ec8\u70b9\u3002\u8fd9\u4e9b\u6539\u52a8\u591a\u5c11\u5e26\u6709\u4e00\u4e9b\u9ed1\u5ba2\u7684\u8272\u8c03\uff0c\u4e0d\u592a\u53ef\u80fd\u878d\u5408\u8fdb\u6743\u5a01\u7684\u6838\u5fc3\u91cc\u53bb\u3002<\/p>\n
%A<\/p>\n","protected":false},"excerpt":{"rendered":"
\u4f46\u662f\uff0c\u7531\u4e8eFramebuffer\u7684\u9a71\u52a8\u7a0b\u5e8f\u5f88\u591a\uff0c\u4fee\u6539\u6bcf\u4e00\u4e2a\u9a71\u52a8\u7a0b\u5e8f\u7684xxxx_putc()\u51fd\u6570\u548cxxxx_putcs()\u51fd\u6570\u4f1a\u662f\u4e00\u9879\u4e0d\u5c0f\u7684\u5de5\u4f5c\uff0c\u800c\u4e14\uff0c\u6539\u52a8\u9a71\u52a8\u7a0b\u5e8f\u540e\uff0c\u6bcf\u79cd\u9a71\u52a8\u7a0b\u5e8f\u7684\u6d4b\u8bd5\u4e5f\u662f\u5f88\u9ebb\u70e6\u7684\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u6709\u786c\u4ef6\u52a0\u901f\u7684\u663e\u5361\uff0c\u4fee\u6539\u548c\u6d4b\u8bd5\u4f1a\u66f4\u4e0d\u5bb9\u6613\u3002<\/p>\n","protected":false},"author":1,"featured_media":285363,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-285362","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/285362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=285362"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/285362\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/285363"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=285362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=285362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=285362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}