上篇文章我们完成了一个简单的bootloader,与其说是bootloader,不如说是boot,本篇我们完成loader部分功能.loader部分是在boot部分基础上,通过到约定好的启动盘位置上读数据载入内存,达到loader的目的。到启动盘读数据是bios提供的功能调用.
1. 铺垫
(1)我们这次的程序分两个部分,一个部分是bootloader,boot和loader功能;一个是hea...
分类:
其他好文 时间:
2014-05-09 14:55:38
阅读次数:
538
我们用flash
buidler加载素材一般有三种途径:1、SWC,这种方式会增大SWF的大小2、flash
cs项目关联3、SWF专门放素材资源通过Loader方式加载今天发现通过SWF加载方式有个问题要加载的素材如下图:
A:是一个MC,里面放了一个B:mc,C:SimpleButton问题:....
分类:
其他好文 时间:
2014-05-09 09:57:55
阅读次数:
298
使用IO模拟器,应用沙盒的根路径为:/Users/apple/Library/Application Support/iPhone
Simulator/6.0/Applications(6.0为模拟器的版本)1、获取应用沙盒目录 利用沙盒根目录拼接“Documents”字符串
NSString * ...
分类:
移动开发 时间:
2014-05-09 07:31:58
阅读次数:
416
Bluetooth
Using the Bluetooth APIs, an Android application can perform the following:
使用蓝牙APIs,一个Android应用可以进行如下操作:
Scan for other Bluetooth devices
扫描其他蓝牙设备
Query the local Bluetooth adapter...
分类:
移动开发 时间:
2014-05-09 06:15:57
阅读次数:
479
classpath资源路径加载:
velocity.properties文件配置
file.resource.loader.class =
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
input.encoding = UTF-8
output.encoding = UTF-8Servlet代...
分类:
移动开发 时间:
2014-05-09 06:14:52
阅读次数:
387
最齐全的网站元数据meta标签的含义和用法
随着HTML5的流行和Web技术的不断演变,Meta标签队伍也越来越壮大,从Windows XP的IE6到如今Windows 7、Windows 8的IE9、IE10、IE11,对Html5的支持越来越好,html meta标签的功能作用也越来越强大。 application-name, msapplication-tooltip,msapplication-starturl,msapplication-window,msapplication-navbu...
分类:
Web程序 时间:
2014-05-09 02:01:58
阅读次数:
664
oracle 10g rac TAF(Transparent application failover)...
分类:
数据库 时间:
2014-05-09 01:35:32
阅读次数:
513
//
获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory//
获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName//
获取和设置当前目录(该进...
分类:
移动开发 时间:
2014-05-08 23:49:48
阅读次数:
364
【共享keychain数据】
当往keychain中插入数据时,默认的kSecAttrAccessGroup就是App自身的BundleID。【官方文档】 You can add a
keychain-access-groups entitlement to the application an.....
分类:
其他好文 时间:
2014-05-08 23:21:42
阅读次数:
370
publicvoidDownLoad(stringwordcode,stringwordname,stringwordcopyright)
{
stringoutfn="p_w_upload;filename={0}.txt";
Response.ContentType="application/txt;charset=GB2312";
Response.AddHeader("Content-Disposition",string.Format(outfn,wordcode));
Response.Write..
分类:
其他好文 时间:
2014-05-08 16:50:54
阅读次数:
269