├── .gitinore ├── README.markdown ├── src ├── !cons_nt.bat ├── a │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── a.c │ ├── a.hrb │ └── make.bat ├── apilib.h ├── apilib │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── alloca.nas │ ├── api001.nas │ ├── api002.nas │ ├── api003.nas │ ├── api004.nas │ ├── api005.nas │ ├── api006.nas │ ├── api007.nas │ ├── api008.nas │ ├── api009.nas │ ├── api010.nas │ ├── api011.nas │ ├── api012.nas │ ├── api013.nas │ ├── api014.nas │ ├── api015.nas │ ├── api016.nas │ ├── api017.nas │ ├── api018.nas │ ├── api019.nas │ ├── api020.nas │ ├── api021.nas │ ├── api022.nas │ ├── api023.nas │ ├── api024.nas │ ├── api025.nas │ ├── api026.nas │ ├── api027.nas │ ├── apilib.lib │ └── make.bat ├── app_make.txt ├── bball │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── bball.c │ ├── bball.hrb │ └── make.bat ├── beepdown │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── beepdown.c │ ├── beepdown.hrb │ └── make.bat ├── calc │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── calc.c │ ├── calc.hrb │ └── make.bat ├── chklang │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── chklang.c │ ├── chklang.hrb │ └── make.bat ├── color │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── color.c │ ├── color.hrb │ └── make.bat ├── color2 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── color2.c │ ├── color2.hrb │ └── make.bat ├── euc.txt ├── gview │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── bmp.nasm │ ├── bmp.obj │ ├── gview.c │ ├── gview.hrb │ ├── jpeg.c │ └── make.bat ├── haribote.img ├── haribote.iso ├── haribote.rul ├── haribote │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── asmhead.nas │ ├── bootpack.c │ ├── bootpack.h │ ├── console.c │ ├── dsctbl.c │ ├── fifo.c │ ├── file.c │ ├── graphic.c │ ├── hankaku.txt │ ├── haribote.sys │ ├── int.c │ ├── ipl09.bin │ ├── ipl09.nas │ ├── keyboard.c │ ├── make.bat │ ├── memory.c │ ├── mouse.c │ ├── mtask.c │ ├── naskfunc.nas │ ├── sheet.c │ ├── tek.c │ ├── timer.c │ └── window.c ├── hello3 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── hello3.c │ ├── hello3.hrb │ └── make.bat ├── hello4 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── hello4.c │ ├── hello4.hrb │ └── make.bat ├── hello5 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── hello5.hrb │ ├── hello5.nas │ └── make.bat ├── invader │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── invader.c │ ├── invader.hrb │ └── make.bat ├── ipl09.nas ├── iroha │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── iroha.c │ ├── iroha.hrb │ └── make.bat ├── lines │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── lines.c │ ├── lines.hrb │ └── make.bat ├── make.bat ├── makefile ├── mmldata │ ├── daigo.mml │ ├── daigo.org │ ├── daiku.mml │ ├── daiku.org │ ├── fujisan.mml │ ├── fujisan.org │ ├── kirakira.mml │ └── kirakira.org ├── mmlplay │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── mmlplay.c │ └── mmlplay.hrb ├── nihongo │ ├── jpn16v00.bin │ ├── jpn16v00.fnt │ ├── nihongo.fnt │ └── nihongo.org ├── noodle │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── noodle.c │ └── noodle.hrb ├── notrec │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── notrec.c │ └── notrec.hrb ├── pictdata │ ├── fujisan.jpg │ ├── fujisan_.jpg │ ├── night.bmp │ └── night_.bmp ├── sosu │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── sosu.c │ └── sosu.hrb ├── sosu2 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── sosu2.c │ └── sosu2.hrb ├── sosu3 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── sosu3.c │ └── sosu3.hrb ├── star1 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── star1.c │ └── star1.hrb ├── stars │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── stars.c │ └── stars.hrb ├── stars2 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── stars2.c │ └── stars2.hrb ├── tek │ ├── autodec_.c │ └── tek.c ├── tview │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── tview.c │ └── tview.hrb ├── type │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── type.c │ └── type.hrb ├── walk │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── walk.c │ └── walk.hrb ├── winhelo │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── winhelo.c │ └── winhelo.hrb ├── winhelo2 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── winhelo2.c │ └── winhelo2.hrb └── winhelo3 │ ├── !cons_9x.bat │ ├── !cons_nt.bat │ ├── Makefile │ ├── make.bat │ ├── winhelo3.c │ └── winhelo3.hrb └── z_tools ├── OSASK0.PSF ├── aksa.exe ├── aska.exe ├── bim2bin.exe ├── bim2hrb.exe ├── bin2obj.exe ├── cc1.exe ├── com_mak.txt ├── comcom.exe ├── cpp0.exe ├── doscmd.exe ├── dsar.bat ├── edimg.exe ├── edimgopt.txt ├── esart5.bat ├── fdimg0at.tek ├── fdimg0tw.tek ├── gas2nask.exe ├── golib00.exe ├── guigui00 ├── errno.h ├── float.h ├── gg00libc.lib ├── gg00old0.rul ├── golibc.lib ├── guigui00.h ├── guigui00.rul ├── limits.h ├── math.h ├── setjmp.h ├── stdarg.h ├── stddef.h ├── stdio.h ├── stdlib.h └── string.h ├── haribote ├── errno.h ├── float.h ├── golibc.lib ├── haribote.rul ├── harilibc.lib ├── limits.h ├── math.h ├── setjmp.h ├── stdarg.h ├── stddef.h ├── stdio.h └── string.h ├── imgtol.com ├── ld.exe ├── make.exe ├── makefont.exe ├── nask.exe ├── naskcnv0.exe ├── nothing.com ├── obj2bim.exe ├── osa_qemu ├── Makefile ├── OSAIMGAT.BIN ├── OSASK.EXE ├── OSASK0.PSF ├── edimgopt.txt ├── manual.bat ├── osalink1.opt └── timerdrv.tek ├── osalink1.exe ├── qemu ├── Makefile ├── SDL.dll ├── bios.bin ├── fdimage0.bin ├── qemu-win.bat ├── qemu.exe └── vgabios.bin ├── qemu_9x ├── Makefile ├── SDL.dll ├── bios.bin ├── qemu.exe └── vgabios.bin ├── sartol.exe ├── sjisconv.exe ├── t5lzma.exe ├── upx.exe ├── wce.exe └── win32 ├── errno.h ├── float.h ├── golibc.lib ├── libmingw.lib ├── limits.h ├── math.h ├── setjmp.h ├── stdarg.h ├── stddef.h ├── stdio.h ├── stdlib.h ├── string.h └── w32clibc.lib /.gitinore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- 1 | ## 30天自制操作系统 ------ OSASK 2 | 3 | 4 | 这是川合秀实的[《30天自制操作系统》](http://book.douban.com/subject/11530329/)的git管理版本。你可以轻易地用git来对其进行管理,建立分支,增减功能,进而做成自己的更为复杂的操作系统。 5 | 6 | 另外,因为是新手向的书,书中有大量的很简单的概念,为了大家阅读和学习方便,我将每一天所完成的内容作了一个整理,并用中文对一些比较复杂的内容作出了注释。 7 | 8 | OK,向着属于你的操作系统进发吧! 9 | 10 | ### 为什么要用git管理我的操作系统 11 | 12 | 谁都知道,学习编程的唯一捷径就是多写多练,与其把书上的代码都敲到电脑里面去,不如在阅读与理解全书之后对操作系统进行力所能及的改进与扩展。而这时候很烦人的事情出现了,你常常无法了解到,一个层层叠叠的系统中,自己要修改的部分究竟是如何堆叠起来的,自己要修改的部分究竟和那几个组件出现了耦合。 13 | 14 | 这时候代码管理工具就帮上忙了,git 15 | 是一个十分优秀的代码管理工具。你可以看到每一天的进度和完成的内容,可以轻松地通过git的变基,分支,检出操作来对操作系统作出修改,扩展或测试,而无需担心自己会破坏或搞烂原本的代码。 16 | 17 | 通过git历史,你还能够清楚地看到,操作系统每一天修改了那些代码,让自己心里有数。 18 | 19 | 欢迎大家通过github上传自己写出的增强版本OSASK。 20 | 21 | #### 如何操作? 22 | 23 | 1.下载该项目 24 | 25 | git clone https://github.com/Tassandar/OSASK 26 | 27 | 2.查看提交记录 28 | 29 | cd OSASK 30 | git log --graph --pretty=oneline 31 | 32 | => 找到自己需要的代码 33 | 34 | ........ 35 | * 8981d2d02d36bbf9954f0c3c20532bd04732e5b8 DAY17 36 | * bbadc07d81996f13b699f34c93277c3d92d3b4f5 DAY16 37 | * 2f47672c7b9ac07c0ddf2696d9fa79d81d19e9c4 DAY15 38 | * b4623d7581b8f5096667723b696f13bad6d460a2 DAY14 39 | * 72582ea4e7d3631ef10b57bdcbaa59db3893f3f8 DAY13 40 | * 63e2206785e59869d95415b1033778139f410516 DAY12 41 | * d09c762b18ee47b601994c7a3e85fd62b2d4e91f DAY11 42 | * 9b2998c9ff8a73f200d77a9a76bfb1b9c86490e2 DAY10 43 | ........ 44 | 45 | 3.创建自己的分支(只需要ID的前几位就行,这里检出DAY17) 46 | 47 | git branch mybranch 8981d 48 | 49 | 4.run it 50 | 51 | 打开 !cons_nt.bat 52 | 运行 `make run` 53 | done 54 | 55 | ### 进度条 56 | 57 | #### DAY1 58 | 59 | 使用汇编完成了 helloos.nas ,经过 asm 生成二进制文件 helloos.img,使用 QEMU 软件模拟 PC 输出 hello world 。 60 | 61 | #### DAY2 62 | 63 | 加入makefile。制作启动区。 64 | 汇编写出 helloos.nas , asm 后输出 ipl.bin/ipl.lst, 用磁盘映像管理工具 edimg.exe 生成helloos.img. 65 | 66 | #### DAY3 67 | 68 | 制作启动区(从软盘读取数据填充到内存的对应位置),汇编写出一个简易的操作系统(黑屏),用c语言写出停止函数,用汇编写出停止的底层实现,用作者实现的编译器编译后三者链接后输出二进制磁盘映像交由系统启动。 69 | 70 | #### DAY4 71 | 72 | 用汇编实现对显存和中断标志的io,C语言实现绘图,调色函数,在main函数中实现绘制系统框架图。编译链接后交由系统运行。 73 | 74 | #### DAY5 75 | 76 | 用 struct (结构体) 存储显存信息,加入字体文件hankaku.txt,C语言绘制鼠标图形,加入字符显示函数,引入GDT(全局段号记录表)和IDT(中断记录表),利用结构体和C语言实现读写 GDT 和 IDT 。 77 | 78 | #### DAY6 79 | 80 | 将源文件分割成多个文件,重复部分整理至共有的头文件中。利用通配符简化makefile,设定PIC(可编程中断控制器),C语言实现鼠标键盘中断处理函数,汇编将中断函数处理包装(中断返回,中断标志置位)后注册至IDT。 81 | 82 | #### DAY7 83 | 84 | 完善键盘中断处理,加入键盘输入缓存(FIFO BUF),利用环形队列实现结构体 KEYBUF, 整理至 FIFO.C 文件中;加入鼠标控制电路初始化代码,加入鼠标数据取得方法与中断反馈代码(和键盘类似)。 85 | 86 | #### DAY8 87 | 88 | 加入鼠标数据处理与解读(读取鼠标数据【3连字节】,验证,转换为坐标/状态/按钮值),鼠标移动(频繁擦除重画鼠标ico)。解释了asmhead.nas头文件内容。 89 | 90 | #### DAY9 91 | 92 | 对源文件分割整理,加入高速缓存检测,内存检测,内存管理(将每一段空闲内存记录在特定内存空间中并用结构体存储记录。) 93 | 94 | #### DAY10 95 | 96 | 增强内存管理功能(完善memman_alloc 和 memman_free ,以大区块进行内存分配和释放)。加入叠加处理(加入图层),图像刷新(从底向高层依次绘制图层),图层移动,图层释放,范围刷新技术(以提高图像绘制的速度)。 97 | 98 | #### DAY11 99 | 100 | 支持鼠标移出屏幕(解决刷新溢出),改善图层修改函数,绘制窗口图像,利用制作图层map消除刷新闪烁。 101 | 102 | #### DAY12 103 | 104 | 定时器设置,设置PIT(可编程定时器),设置中断,定时器函数,管理定时器,加快优化定时器中断处理速度。3秒和10秒时输出屏幕。 105 | 106 | #### DAY13 107 | 108 | 整理简化字符串显示函数,利用定时器改善和调整FIFO缓冲区,定时器性能测试,用链表结构管理定时器,增加定时器哨兵。 109 | 110 | #### DAY14 111 | 112 | 改进性能测试,高分辨率支持(需要转换到真机上运行),键盘输入,输入输出至窗口。制作字符框,鼠标拖动窗口功能。 113 | 114 | #### DAY15 115 | 116 | 多任务处理,定义任务状态段,任务切换功能,测试多任务运算速度,运行测试(让TASK A 和 Task B 轮流数数)。 117 | 118 | #### DAY16 119 | 120 | 任务管理(用结构体记录和管理任务),任务的休眠与唤醒,增加窗口数量(每一任务一个窗口),任务优先级设置。 121 | 122 | #### DAY17 123 | 124 | 对闲置任务的管理(把闲置任务置于最底层),制作命令行窗口,窗口切换(设定为TAB按键),命令行接受键盘数据。符号的输入(感叹号和百分号),实现大小写输入(按键编码与字符编码转换表),对各种锁定键的支持,点亮和熄灭键盘指示灯。 125 | 126 | #### DAY18 127 | 128 | 控制焦点窗口的光标闪烁,命令行支持回车键,对窗口滚动的支持,编写与实现mem,dir命令。 129 | 130 | #### DAY19 131 | 132 | 加入type命令(就是linux中的cat命令),支持FAT(文件分配表),写出第一个系统程序(让电脑死机。。。)。 133 | 134 | #### DAY20 135 | 136 | 整理程序,制作系统应用程序接口(API),显示字符的API。 137 | 138 | #### DAY21 139 | 140 | 保护操作系统关键段,用C语言写作操作系统API,对异常的支持。 141 | 142 | #### DAY22 143 | 144 | 加强系统保护(防止API被修改),对于程序中溢出的异常处理,强制结束键(强制结束死循环的程序),C语言显示字符串API,窗口显示API。 145 | 146 | #### DAY23 147 | 148 | 重写malloc的API,加入对窗口中图形绘制的API(点,指点,窗口,刷新与关闭窗口),键盘输入API,强制结束后关闭窗口,WALK小游戏(能控制在窗口上下左右移动的点)。 149 | 150 | #### DAY24 151 | 152 | 窗口切换(使用按键F11,或鼠标点击),鼠标拖动窗口移动,关闭窗口,定时器API。 153 | 154 | #### DAY25 155 | 156 | 蜂鸣器(需要真机运行),增加调色盘(把颜色API改为256色),改进256色至真彩色,支持同时开启多个(最多10个)命令行窗口(新窗口继承原窗口变量,重新分配内存,和fork有点类似),去掉开机自带的小窗口。 157 | 158 | #### DAY26 159 | 160 | 提高窗口拖动速度,启动时打开一个命令行窗口(编写开命令行窗口函数,用shift + F2,打开新命令行窗口),取消命令行数量限制。关闭命令行后进行内存回收。ncst命令(启动程序不打开命令行窗口),start命令(打开一个新的命令行窗口)。 161 | 162 | #### DAY27 163 | 164 | 修复点“x”无法关闭窗口的小bug,保护应用程序,整理源代码。 165 | 166 | #### DAY28 167 | 168 | alloca(对esp做减法的函数),文件操作API,命令行API,日文的文字显示。 169 | 170 | #### DAY29 & DAY30 171 | 172 | 这两天都是在做应用程序,主要是代码,讲解很少,就合起来写了,notrec(非矩阵窗口),bball(画球),invader(外星人游戏,就是小蜜蜂),tek_getseze & tek_decomp(文件压缩,制作成tek格式),calc(计算器),tview(文本阅览),mmlplay(音乐播放器),gview(图片阅览). 173 | 174 | 175 | ### 川合堂许可协议 176 | 177 | 178 | #### 概要 179 | 180 | 通俗地说:“这是自由软件,使用前使用后都无须支付任何费用,可以自由使用,也可以 181 | 复制、修改,以及用于商业目的,但是作者对软件的bug以及因此所造成的损失不负任何责 182 | 任。” 183 | 184 | 为了保护软件使用者以及软件修改者、参考者的利益,即便作者将来为该软件中所使用的 185 | 算法申请专利,也保证不会向使用者收取授权费用。 186 | 187 | #### 目的 188 | 189 | 适用于本协议的软件,旨在为公众带来利益,以及为软件技术的进步做出贡献。 190 | 191 | #### 宗旨 192 | 193 | 本协议并不代表作者放弃著作权(仅放弃独家复制发布的权利),使用者可以自由复制并 194 | 再次发布本软件的一部分甚至全部内容。使用时无须支付任何费用,对本软件的解析、修改 195 | 也无须支付任何费用。 196 | 197 | 适用于本协议的软件,可以无条件地用作商业目的,甚至可以将软件直接有偿出售。 198 | 199 | 对于以适用于本协议的软件的一部分或全部内容为基础,在此之上所开发的软件(下称“ 200 | 派生物”),可以赋予任何种类的许可协议。即,派生物的作者可以禁止对派生物进行复制, 201 | 也可以只允许派生物以有偿形式发布。派生物的著作权属于该派生物的生成者,适用于本协 202 | 议的软件作者不会对其派生物主张著作权。 203 | 204 | 在派生物的文档中,没有义务对原始软件的作者进行介绍,但这句话,理所当然地,不意 205 | 味着禁止这一行为。 206 | 207 | 在发布派生物时,没有义务取得原始软件作者的同意,但这句话,理所当然地,不意味着 208 | 禁止这一行为。 209 | 210 | 作者不对软件的质量作出任何保证,因此,由于使用本软件所造成的损害,或者没有达到 211 | 所期望的结果,作者不负任何责任。 212 | 213 | 对于适用于本协议的软件中所使用的技术,除了事先取得作者授权的人以外,禁止其他人 214 | 对其申请专利。但如果附加了新的技术并生成了派生物,允许对于追加的部分申请专利。作 215 | 者在将来有可能对软件中的技术申请专利,但保证不会向派生物以及软件的使用收取授权费 216 | 用。本保证不仅适用于申请专利之前所生成的派生物,也适用于专利取得后所生成的派生物。 217 | 218 | 将解析结果汇总并申请专利,需要事先取得作者的同意,但对于申请专利以外的行为,没 219 | 有任何限制。 220 | 221 | ### Links 222 | 223 | [川合堂](http://www.imasy.org/~mone/kawaido/) 224 | 225 | [kawai](http://www.imasy.org/~kawai/) 226 | 227 | [豆瓣图书链接](http://book.douban.com/subject/11530329/) 228 | 229 | [OSASK计划](http://http://osask.net/) 230 | 231 | [OSASK wiki](http://ja.wikipedia.org/wiki/OSASK) 232 | 233 | [source code at sourceforge](http://zh.sourceforge.jp/projects/osask/releases/?package_id=10517) 234 | 235 | ### Contribute 236 | 237 | 欢迎对该项目作出任何形式上的改进,欢迎分享对此开源系统的经验分享。 238 | 239 | Just fork me and push to here . 240 | 241 | 242 | That's it . Have fun. 243 | 244 | ### License 245 | 246 | 工具软件中使用的是 247 | 248 | [GNU GPL协议](http://www.gnu.org/licenses/gpl-3.0.html) 249 | 250 | [GNU LGPL协议](http://www.gnu.org/licenses/lgpl-3.0.html) 251 | -------------------------------------------------------------------------------- /src/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/a/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/a/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/a/Makefile: -------------------------------------------------------------------------------- 1 | APP = a 2 | STACK = 1k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | 7 | $(APP).hrb : $(APP).org Makefile 8 | $(COPY) $(APP).org $(APP).hrb 9 | -------------------------------------------------------------------------------- /src/a/a.c: -------------------------------------------------------------------------------- 1 | #include "apilib.h" 2 | 3 | void HariMain(void) 4 | { 5 | api_putchar('A'); 6 | api_end(); 7 | } 8 | -------------------------------------------------------------------------------- /src/a/a.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/a/a.hrb -------------------------------------------------------------------------------- /src/a/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/apilib.h: -------------------------------------------------------------------------------- 1 | void api_putchar(int c); 2 | void api_putstr0(char *s); 3 | void api_putstr1(char *s, int l); 4 | void api_end(void); 5 | int api_openwin(char *buf, int xsiz, int ysiz, int col_inv, char *title); 6 | void api_putstrwin(int win, int x, int y, int col, int len, char *str); 7 | void api_boxfilwin(int win, int x0, int y0, int x1, int y1, int col); 8 | void api_initmalloc(void); 9 | char *api_malloc(int size); 10 | void api_free(char *addr, int size); 11 | void api_point(int win, int x, int y, int col); 12 | void api_refreshwin(int win, int x0, int y0, int x1, int y1); 13 | void api_linewin(int win, int x0, int y0, int x1, int y1, int col); 14 | void api_closewin(int win); 15 | int api_getkey(int mode); 16 | int api_alloctimer(void); 17 | void api_inittimer(int timer, int data); 18 | void api_settimer(int timer, int time); 19 | void api_freetimer(int timer); 20 | void api_beep(int tone); 21 | int api_fopen(char *fname); 22 | void api_fclose(int fhandle); 23 | void api_fseek(int fhandle, int offset, int mode); 24 | int api_fsize(int fhandle, int mode); 25 | int api_fread(char *buf, int maxsize, int fhandle); 26 | int api_cmdline(char *buf, int maxsize); 27 | int api_getlang(void); 28 | -------------------------------------------------------------------------------- /src/apilib/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/apilib/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/apilib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/apilib/Makefile -------------------------------------------------------------------------------- /src/apilib/alloca.nas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/apilib/alloca.nas -------------------------------------------------------------------------------- /src/apilib/api001.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api001.nas"] 5 | 6 | GLOBAL _api_putchar 7 | 8 | [SECTION .text] 9 | 10 | _api_putchar: ; void api_putchar(int c); 11 | MOV EDX,1 12 | MOV AL,[ESP+4] ; c 13 | INT 0x40 14 | RET 15 | -------------------------------------------------------------------------------- /src/apilib/api002.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api002.nas"] 5 | 6 | GLOBAL _api_putstr0 7 | 8 | [SECTION .text] 9 | 10 | _api_putstr0: ; void api_putstr0(char *s); 11 | PUSH EBX 12 | MOV EDX,2 13 | MOV EBX,[ESP+8] ; s 14 | INT 0x40 15 | POP EBX 16 | RET 17 | -------------------------------------------------------------------------------- /src/apilib/api003.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api003.nas"] 5 | 6 | GLOBAL _api_putstr1 7 | 8 | [SECTION .text] 9 | 10 | _api_putstr1: ; void api_putstr1(char *s, int l); 11 | PUSH EBX 12 | MOV EDX,3 13 | MOV EBX,[ESP+ 8] ; s 14 | MOV ECX,[ESP+12] ; l 15 | INT 0x40 16 | POP EBX 17 | RET 18 | -------------------------------------------------------------------------------- /src/apilib/api004.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api004.nas"] 5 | 6 | GLOBAL _api_end 7 | 8 | [SECTION .text] 9 | 10 | _api_end: ; void api_end(void); 11 | MOV EDX,4 12 | INT 0x40 13 | -------------------------------------------------------------------------------- /src/apilib/api005.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api005.nas"] 5 | 6 | GLOBAL _api_openwin 7 | 8 | [SECTION .text] 9 | 10 | _api_openwin: ; int api_openwin(char *buf, int xsiz, int ysiz, int col_inv, char *title); 11 | PUSH EDI 12 | PUSH ESI 13 | PUSH EBX 14 | MOV EDX,5 15 | MOV EBX,[ESP+16] ; buf 16 | MOV ESI,[ESP+20] ; xsiz 17 | MOV EDI,[ESP+24] ; ysiz 18 | MOV EAX,[ESP+28] ; col_inv 19 | MOV ECX,[ESP+32] ; title 20 | INT 0x40 21 | POP EBX 22 | POP ESI 23 | POP EDI 24 | RET 25 | -------------------------------------------------------------------------------- /src/apilib/api006.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api006.nas"] 5 | 6 | GLOBAL _api_putstrwin 7 | 8 | [SECTION .text] 9 | 10 | _api_putstrwin: ; void api_putstrwin(int win, int x, int y, int col, int len, char *str); 11 | PUSH EDI 12 | PUSH ESI 13 | PUSH EBP 14 | PUSH EBX 15 | MOV EDX,6 16 | MOV EBX,[ESP+20] ; win 17 | MOV ESI,[ESP+24] ; x 18 | MOV EDI,[ESP+28] ; y 19 | MOV EAX,[ESP+32] ; col 20 | MOV ECX,[ESP+36] ; len 21 | MOV EBP,[ESP+40] ; str 22 | INT 0x40 23 | POP EBX 24 | POP EBP 25 | POP ESI 26 | POP EDI 27 | RET 28 | -------------------------------------------------------------------------------- /src/apilib/api007.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api007.nas"] 5 | 6 | GLOBAL _api_boxfilwin 7 | 8 | [SECTION .text] 9 | 10 | _api_boxfilwin: ; void api_boxfilwin(int win, int x0, int y0, int x1, int y1, int col); 11 | PUSH EDI 12 | PUSH ESI 13 | PUSH EBP 14 | PUSH EBX 15 | MOV EDX,7 16 | MOV EBX,[ESP+20] ; win 17 | MOV EAX,[ESP+24] ; x0 18 | MOV ECX,[ESP+28] ; y0 19 | MOV ESI,[ESP+32] ; x1 20 | MOV EDI,[ESP+36] ; y1 21 | MOV EBP,[ESP+40] ; col 22 | INT 0x40 23 | POP EBX 24 | POP EBP 25 | POP ESI 26 | POP EDI 27 | RET 28 | -------------------------------------------------------------------------------- /src/apilib/api008.nas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/apilib/api008.nas -------------------------------------------------------------------------------- /src/apilib/api009.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api009.nas"] 5 | 6 | GLOBAL _api_malloc 7 | 8 | [SECTION .text] 9 | 10 | _api_malloc: ; char *api_malloc(int size); 11 | PUSH EBX 12 | MOV EDX,9 13 | MOV EBX,[CS:0x0020] 14 | MOV ECX,[ESP+8] ; size 15 | INT 0x40 16 | POP EBX 17 | RET 18 | -------------------------------------------------------------------------------- /src/apilib/api010.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api010.nas"] 5 | 6 | GLOBAL _api_free 7 | 8 | [SECTION .text] 9 | 10 | _api_free: ; void api_free(char *addr, int size); 11 | PUSH EBX 12 | MOV EDX,10 13 | MOV EBX,[CS:0x0020] 14 | MOV EAX,[ESP+ 8] ; addr 15 | MOV ECX,[ESP+12] ; size 16 | INT 0x40 17 | POP EBX 18 | RET 19 | -------------------------------------------------------------------------------- /src/apilib/api011.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api011.nas"] 5 | 6 | GLOBAL _api_point 7 | 8 | [SECTION .text] 9 | 10 | _api_point: ; void api_point(int win, int x, int y, int col); 11 | PUSH EDI 12 | PUSH ESI 13 | PUSH EBX 14 | MOV EDX,11 15 | MOV EBX,[ESP+16] ; win 16 | MOV ESI,[ESP+20] ; x 17 | MOV EDI,[ESP+24] ; y 18 | MOV EAX,[ESP+28] ; col 19 | INT 0x40 20 | POP EBX 21 | POP ESI 22 | POP EDI 23 | RET 24 | -------------------------------------------------------------------------------- /src/apilib/api012.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api012.nas"] 5 | 6 | GLOBAL _api_refreshwin 7 | 8 | [SECTION .text] 9 | 10 | _api_refreshwin: ; void api_refreshwin(int win, int x0, int y0, int x1, int y1); 11 | PUSH EDI 12 | PUSH ESI 13 | PUSH EBX 14 | MOV EDX,12 15 | MOV EBX,[ESP+16] ; win 16 | MOV EAX,[ESP+20] ; x0 17 | MOV ECX,[ESP+24] ; y0 18 | MOV ESI,[ESP+28] ; x1 19 | MOV EDI,[ESP+32] ; y1 20 | INT 0x40 21 | POP EBX 22 | POP ESI 23 | POP EDI 24 | RET 25 | -------------------------------------------------------------------------------- /src/apilib/api013.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api013.nas"] 5 | 6 | GLOBAL _api_linewin 7 | 8 | [SECTION .text] 9 | 10 | _api_linewin: ; void api_linewin(int win, int x0, int y0, int x1, int y1, int col); 11 | PUSH EDI 12 | PUSH ESI 13 | PUSH EBP 14 | PUSH EBX 15 | MOV EDX,13 16 | MOV EBX,[ESP+20] ; win 17 | MOV EAX,[ESP+24] ; x0 18 | MOV ECX,[ESP+28] ; y0 19 | MOV ESI,[ESP+32] ; x1 20 | MOV EDI,[ESP+36] ; y1 21 | MOV EBP,[ESP+40] ; col 22 | INT 0x40 23 | POP EBX 24 | POP EBP 25 | POP ESI 26 | POP EDI 27 | RET 28 | -------------------------------------------------------------------------------- /src/apilib/api014.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api014.nas"] 5 | 6 | GLOBAL _api_closewin 7 | 8 | [SECTION .text] 9 | 10 | _api_closewin: ; void api_closewin(int win); 11 | PUSH EBX 12 | MOV EDX,14 13 | MOV EBX,[ESP+8] ; win 14 | INT 0x40 15 | POP EBX 16 | RET 17 | -------------------------------------------------------------------------------- /src/apilib/api015.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api015.nas"] 5 | 6 | GLOBAL _api_getkey 7 | 8 | [SECTION .text] 9 | 10 | _api_getkey: ; int api_getkey(int mode); 11 | MOV EDX,15 12 | MOV EAX,[ESP+4] ; mode 13 | INT 0x40 14 | RET 15 | -------------------------------------------------------------------------------- /src/apilib/api016.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api016.nas"] 5 | 6 | GLOBAL _api_alloctimer 7 | 8 | [SECTION .text] 9 | 10 | _api_alloctimer: ; int api_alloctimer(void); 11 | MOV EDX,16 12 | INT 0x40 13 | RET 14 | -------------------------------------------------------------------------------- /src/apilib/api017.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api017.nas"] 5 | 6 | GLOBAL _api_inittimer 7 | 8 | [SECTION .text] 9 | 10 | _api_inittimer: ; void api_inittimer(int timer, int data); 11 | PUSH EBX 12 | MOV EDX,17 13 | MOV EBX,[ESP+ 8] ; timer 14 | MOV EAX,[ESP+12] ; data 15 | INT 0x40 16 | POP EBX 17 | RET 18 | -------------------------------------------------------------------------------- /src/apilib/api018.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api018.nas"] 5 | 6 | GLOBAL _api_settimer 7 | 8 | [SECTION .text] 9 | 10 | _api_settimer: ; void api_settimer(int timer, int time); 11 | PUSH EBX 12 | MOV EDX,18 13 | MOV EBX,[ESP+ 8] ; timer 14 | MOV EAX,[ESP+12] ; time 15 | INT 0x40 16 | POP EBX 17 | RET 18 | -------------------------------------------------------------------------------- /src/apilib/api019.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api019.nas"] 5 | 6 | GLOBAL _api_freetimer 7 | 8 | [SECTION .text] 9 | 10 | _api_freetimer: ; void api_freetimer(int timer); 11 | PUSH EBX 12 | MOV EDX,19 13 | MOV EBX,[ESP+ 8] ; timer 14 | INT 0x40 15 | POP EBX 16 | RET 17 | -------------------------------------------------------------------------------- /src/apilib/api020.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api020.nas"] 5 | 6 | GLOBAL _api_beep 7 | 8 | [SECTION .text] 9 | 10 | _api_beep: ; void api_beep(int tone); 11 | MOV EDX,20 12 | MOV EAX,[ESP+4] ; tone 13 | INT 0x40 14 | RET 15 | -------------------------------------------------------------------------------- /src/apilib/api021.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api021.nas"] 5 | 6 | GLOBAL _api_fopen 7 | 8 | [SECTION .text] 9 | 10 | _api_fopen: ; int api_fopen(char *fname); 11 | PUSH EBX 12 | MOV EDX,21 13 | MOV EBX,[ESP+8] ; fname 14 | INT 0x40 15 | POP EBX 16 | RET 17 | -------------------------------------------------------------------------------- /src/apilib/api022.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api022.nas"] 5 | 6 | GLOBAL _api_fclose 7 | 8 | [SECTION .text] 9 | 10 | _api_fclose: ; void api_fclose(int fhandle); 11 | MOV EDX,22 12 | MOV EAX,[ESP+4] ; fhandle 13 | INT 0x40 14 | RET 15 | -------------------------------------------------------------------------------- /src/apilib/api023.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api023.nas"] 5 | 6 | GLOBAL _api_fseek 7 | 8 | [SECTION .text] 9 | 10 | _api_fseek: ; void api_fseek(int fhandle, int offset, int mode); 11 | PUSH EBX 12 | MOV EDX,23 13 | MOV EAX,[ESP+8] ; fhandle 14 | MOV ECX,[ESP+16] ; mode 15 | MOV EBX,[ESP+12] ; offset 16 | INT 0x40 17 | POP EBX 18 | RET 19 | -------------------------------------------------------------------------------- /src/apilib/api024.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api024.nas"] 5 | 6 | GLOBAL _api_fsize 7 | 8 | [SECTION .text] 9 | 10 | _api_fsize: ; int api_fsize(int fhandle, int mode); 11 | MOV EDX,24 12 | MOV EAX,[ESP+4] ; fhandle 13 | MOV ECX,[ESP+8] ; mode 14 | INT 0x40 15 | RET 16 | -------------------------------------------------------------------------------- /src/apilib/api025.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api025.nas"] 5 | 6 | GLOBAL _api_fread 7 | 8 | [SECTION .text] 9 | 10 | _api_fread: ; int api_fread(char *buf, int maxsize, int fhandle); 11 | PUSH EBX 12 | MOV EDX,25 13 | MOV EAX,[ESP+16] ; fhandle 14 | MOV ECX,[ESP+12] ; maxsize 15 | MOV EBX,[ESP+8] ; buf 16 | INT 0x40 17 | POP EBX 18 | RET 19 | -------------------------------------------------------------------------------- /src/apilib/api026.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api026.nas"] 5 | 6 | GLOBAL _api_cmdline 7 | 8 | [SECTION .text] 9 | 10 | _api_cmdline: ; int api_cmdline(char *buf, int maxsize); 11 | PUSH EBX 12 | MOV EDX,26 13 | MOV ECX,[ESP+12] ; maxsize 14 | MOV EBX,[ESP+8] ; buf 15 | INT 0x40 16 | POP EBX 17 | RET 18 | -------------------------------------------------------------------------------- /src/apilib/api027.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "api027.nas"] 5 | 6 | GLOBAL _api_getlang 7 | 8 | [SECTION .text] 9 | 10 | _api_getlang: ; int api_getlang(void); 11 | MOV EDX,27 12 | INT 0x40 13 | RET 14 | -------------------------------------------------------------------------------- /src/apilib/apilib.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/apilib/apilib.lib -------------------------------------------------------------------------------- /src/apilib/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/app_make.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/app_make.txt -------------------------------------------------------------------------------- /src/bball/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/bball/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/bball/Makefile: -------------------------------------------------------------------------------- 1 | APP = bball 2 | STACK = 52k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/bball/bball.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/bball/bball.c -------------------------------------------------------------------------------- /src/bball/bball.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/bball/bball.hrb -------------------------------------------------------------------------------- /src/bball/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/beepdown/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/beepdown/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/beepdown/Makefile: -------------------------------------------------------------------------------- 1 | APP = beepdown 2 | STACK = 1k 3 | MALLOC = 40k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/beepdown/beepdown.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/beepdown/beepdown.c -------------------------------------------------------------------------------- /src/beepdown/beepdown.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/beepdown/beepdown.hrb -------------------------------------------------------------------------------- /src/beepdown/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/calc/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/calc/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/calc/Makefile: -------------------------------------------------------------------------------- 1 | APP = calc 2 | STACK = 4k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/calc/calc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/calc/calc.c -------------------------------------------------------------------------------- /src/calc/calc.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/calc/calc.hrb -------------------------------------------------------------------------------- /src/calc/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/chklang/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/chklang/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/chklang/Makefile: -------------------------------------------------------------------------------- 1 | APP = chklang 2 | STACK = 1k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/chklang/chklang.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/chklang/chklang.c -------------------------------------------------------------------------------- /src/chklang/chklang.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/chklang/chklang.hrb -------------------------------------------------------------------------------- /src/chklang/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/color/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/color/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/color/Makefile: -------------------------------------------------------------------------------- 1 | APP = color 2 | STACK = 1k 3 | MALLOC = 56k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/color/color.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/color/color.c -------------------------------------------------------------------------------- /src/color/color.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/color/color.hrb -------------------------------------------------------------------------------- /src/color/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/color2/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/color2/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/color2/Makefile: -------------------------------------------------------------------------------- 1 | APP = color2 2 | STACK = 1k 3 | MALLOC = 56k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/color2/color2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/color2/color2.c -------------------------------------------------------------------------------- /src/color2/color2.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/color2/color2.hrb -------------------------------------------------------------------------------- /src/color2/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/euc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/euc.txt -------------------------------------------------------------------------------- /src/gview/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/gview/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/gview/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/gview/Makefile -------------------------------------------------------------------------------- /src/gview/bmp.nasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/gview/bmp.nasm -------------------------------------------------------------------------------- /src/gview/bmp.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/gview/bmp.obj -------------------------------------------------------------------------------- /src/gview/gview.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/gview/gview.c -------------------------------------------------------------------------------- /src/gview/gview.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/gview/gview.hrb -------------------------------------------------------------------------------- /src/gview/jpeg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/gview/jpeg.c -------------------------------------------------------------------------------- /src/gview/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/haribote.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote.img -------------------------------------------------------------------------------- /src/haribote.iso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote.iso -------------------------------------------------------------------------------- /src/haribote.rul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote.rul -------------------------------------------------------------------------------- /src/haribote/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/haribote/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/haribote/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/Makefile -------------------------------------------------------------------------------- /src/haribote/asmhead.nas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/asmhead.nas -------------------------------------------------------------------------------- /src/haribote/bootpack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/bootpack.c -------------------------------------------------------------------------------- /src/haribote/bootpack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/bootpack.h -------------------------------------------------------------------------------- /src/haribote/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/console.c -------------------------------------------------------------------------------- /src/haribote/dsctbl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/dsctbl.c -------------------------------------------------------------------------------- /src/haribote/fifo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/fifo.c -------------------------------------------------------------------------------- /src/haribote/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/file.c -------------------------------------------------------------------------------- /src/haribote/graphic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/graphic.c -------------------------------------------------------------------------------- /src/haribote/hankaku.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/hankaku.txt -------------------------------------------------------------------------------- /src/haribote/haribote.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/haribote.sys -------------------------------------------------------------------------------- /src/haribote/int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/int.c -------------------------------------------------------------------------------- /src/haribote/ipl09.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/ipl09.bin -------------------------------------------------------------------------------- /src/haribote/ipl09.nas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/ipl09.nas -------------------------------------------------------------------------------- /src/haribote/keyboard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/keyboard.c -------------------------------------------------------------------------------- /src/haribote/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/haribote/memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/memory.c -------------------------------------------------------------------------------- /src/haribote/mouse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/mouse.c -------------------------------------------------------------------------------- /src/haribote/mtask.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/mtask.c -------------------------------------------------------------------------------- /src/haribote/naskfunc.nas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/naskfunc.nas -------------------------------------------------------------------------------- /src/haribote/sheet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/sheet.c -------------------------------------------------------------------------------- /src/haribote/tek.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/tek.c -------------------------------------------------------------------------------- /src/haribote/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/timer.c -------------------------------------------------------------------------------- /src/haribote/window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/haribote/window.c -------------------------------------------------------------------------------- /src/hello3/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/hello3/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/hello3/Makefile: -------------------------------------------------------------------------------- 1 | APP = hello3 2 | STACK = 1k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/hello3/hello3.c: -------------------------------------------------------------------------------- 1 | #include "apilib.h" 2 | 3 | void HariMain(void) 4 | { 5 | api_putchar('h'); 6 | api_putchar('e'); 7 | api_putchar('l'); 8 | api_putchar('l'); 9 | api_putchar('o'); 10 | api_end(); 11 | } 12 | -------------------------------------------------------------------------------- /src/hello3/hello3.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/hello3/hello3.hrb -------------------------------------------------------------------------------- /src/hello3/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/hello4/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/hello4/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/hello4/Makefile: -------------------------------------------------------------------------------- 1 | APP = hello4 2 | STACK = 1k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | 7 | $(APP).hrb : $(APP).org Makefile 8 | $(COPY) $(APP).org $(APP).hrb 9 | -------------------------------------------------------------------------------- /src/hello4/hello4.c: -------------------------------------------------------------------------------- 1 | #include "apilib.h" 2 | 3 | void HariMain(void) 4 | { 5 | api_putstr0("hello, world\n"); 6 | api_end(); 7 | } 8 | -------------------------------------------------------------------------------- /src/hello4/hello4.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/hello4/hello4.hrb -------------------------------------------------------------------------------- /src/hello4/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/hello5/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/hello5/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/hello5/Makefile: -------------------------------------------------------------------------------- 1 | APP = hello5 2 | STACK = 1k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | 7 | $(APP).hrb : $(APP).org Makefile 8 | $(COPY) $(APP).org $(APP).hrb 9 | -------------------------------------------------------------------------------- /src/hello5/hello5.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/hello5/hello5.hrb -------------------------------------------------------------------------------- /src/hello5/hello5.nas: -------------------------------------------------------------------------------- 1 | [FORMAT "WCOFF"] 2 | [INSTRSET "i486p"] 3 | [BITS 32] 4 | [FILE "hello5.nas"] 5 | 6 | GLOBAL _HariMain 7 | 8 | [SECTION .text] 9 | 10 | _HariMain: 11 | MOV EDX,2 12 | MOV EBX,msg 13 | INT 0x40 14 | MOV EDX,4 15 | INT 0x40 16 | 17 | [SECTION .data] 18 | 19 | msg: 20 | DB "hello, world", 0x0a, 0 21 | -------------------------------------------------------------------------------- /src/hello5/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/invader/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/invader/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/invader/Makefile: -------------------------------------------------------------------------------- 1 | APP = invader 2 | STACK = 90k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/invader/invader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/invader/invader.c -------------------------------------------------------------------------------- /src/invader/invader.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/invader/invader.hrb -------------------------------------------------------------------------------- /src/invader/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/ipl09.nas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/ipl09.nas -------------------------------------------------------------------------------- /src/iroha/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/iroha/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/iroha/Makefile: -------------------------------------------------------------------------------- 1 | APP = iroha 2 | STACK = 1k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | 7 | $(APP).hrb : $(APP).org Makefile 8 | $(COPY) $(APP).org $(APP).hrb 9 | -------------------------------------------------------------------------------- /src/iroha/iroha.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/iroha/iroha.c -------------------------------------------------------------------------------- /src/iroha/iroha.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/iroha/iroha.hrb -------------------------------------------------------------------------------- /src/iroha/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/lines/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/lines/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/lines/Makefile: -------------------------------------------------------------------------------- 1 | APP = lines 2 | STACK = 1k 3 | MALLOC = 48k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/lines/lines.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/lines/lines.c -------------------------------------------------------------------------------- /src/lines/lines.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/lines/lines.hrb -------------------------------------------------------------------------------- /src/lines/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/make.bat: -------------------------------------------------------------------------------- 1 | ..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/makefile -------------------------------------------------------------------------------- /src/mmldata/daigo.mml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/daigo.mml -------------------------------------------------------------------------------- /src/mmldata/daigo.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/daigo.org -------------------------------------------------------------------------------- /src/mmldata/daiku.mml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/daiku.mml -------------------------------------------------------------------------------- /src/mmldata/daiku.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/daiku.org -------------------------------------------------------------------------------- /src/mmldata/fujisan.mml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/fujisan.mml -------------------------------------------------------------------------------- /src/mmldata/fujisan.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/fujisan.org -------------------------------------------------------------------------------- /src/mmldata/kirakira.mml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/kirakira.mml -------------------------------------------------------------------------------- /src/mmldata/kirakira.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmldata/kirakira.org -------------------------------------------------------------------------------- /src/mmlplay/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/mmlplay/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/mmlplay/Makefile: -------------------------------------------------------------------------------- 1 | APP = mmlplay 2 | STACK = 132k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/mmlplay/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/mmlplay/mmlplay.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmlplay/mmlplay.c -------------------------------------------------------------------------------- /src/mmlplay/mmlplay.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/mmlplay/mmlplay.hrb -------------------------------------------------------------------------------- /src/nihongo/jpn16v00.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/nihongo/jpn16v00.bin -------------------------------------------------------------------------------- /src/nihongo/jpn16v00.fnt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/nihongo/jpn16v00.fnt -------------------------------------------------------------------------------- /src/nihongo/nihongo.fnt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/nihongo/nihongo.fnt -------------------------------------------------------------------------------- /src/nihongo/nihongo.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/nihongo/nihongo.org -------------------------------------------------------------------------------- /src/noodle/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/noodle/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/noodle/Makefile: -------------------------------------------------------------------------------- 1 | APP = noodle 2 | STACK = 1k 3 | MALLOC = 40k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/noodle/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/noodle/noodle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/noodle/noodle.c -------------------------------------------------------------------------------- /src/noodle/noodle.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/noodle/noodle.hrb -------------------------------------------------------------------------------- /src/notrec/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/notrec/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/notrec/Makefile: -------------------------------------------------------------------------------- 1 | APP = notrec 2 | STACK = 11k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/notrec/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/notrec/notrec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/notrec/notrec.c -------------------------------------------------------------------------------- /src/notrec/notrec.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/notrec/notrec.hrb -------------------------------------------------------------------------------- /src/pictdata/fujisan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/pictdata/fujisan.jpg -------------------------------------------------------------------------------- /src/pictdata/fujisan_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/pictdata/fujisan_.jpg -------------------------------------------------------------------------------- /src/pictdata/night.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/pictdata/night.bmp -------------------------------------------------------------------------------- /src/pictdata/night_.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/pictdata/night_.bmp -------------------------------------------------------------------------------- /src/sosu/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/sosu/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/sosu/Makefile: -------------------------------------------------------------------------------- 1 | APP = sosu 2 | STACK = 2k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/sosu/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/sosu/sosu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/sosu/sosu.c -------------------------------------------------------------------------------- /src/sosu/sosu.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/sosu/sosu.hrb -------------------------------------------------------------------------------- /src/sosu2/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/sosu2/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/sosu2/Makefile: -------------------------------------------------------------------------------- 1 | APP = sosu2 2 | STACK = 11k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/sosu2/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/sosu2/sosu2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/sosu2/sosu2.c -------------------------------------------------------------------------------- /src/sosu2/sosu2.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/sosu2/sosu2.hrb -------------------------------------------------------------------------------- /src/sosu3/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/sosu3/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/sosu3/Makefile: -------------------------------------------------------------------------------- 1 | APP = sosu3 2 | STACK = 1k 3 | MALLOC = 42k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/sosu3/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/sosu3/sosu3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/sosu3/sosu3.c -------------------------------------------------------------------------------- /src/sosu3/sosu3.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/sosu3/sosu3.hrb -------------------------------------------------------------------------------- /src/star1/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/star1/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/star1/Makefile: -------------------------------------------------------------------------------- 1 | APP = star1 2 | STACK = 1k 3 | MALLOC = 47k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/star1/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/star1/star1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/star1/star1.c -------------------------------------------------------------------------------- /src/star1/star1.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/star1/star1.hrb -------------------------------------------------------------------------------- /src/stars/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/stars/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/stars/Makefile: -------------------------------------------------------------------------------- 1 | APP = stars 2 | STACK = 1k 3 | MALLOC = 47k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/stars/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/stars/stars.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/stars/stars.c -------------------------------------------------------------------------------- /src/stars/stars.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/stars/stars.hrb -------------------------------------------------------------------------------- /src/stars2/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/stars2/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/stars2/Makefile: -------------------------------------------------------------------------------- 1 | APP = stars2 2 | STACK = 1k 3 | MALLOC = 47k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/stars2/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/stars2/stars2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/stars2/stars2.c -------------------------------------------------------------------------------- /src/stars2/stars2.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/stars2/stars2.hrb -------------------------------------------------------------------------------- /src/tek/autodec_.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/tek/autodec_.c -------------------------------------------------------------------------------- /src/tek/tek.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/tek/tek.c -------------------------------------------------------------------------------- /src/tview/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/tview/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/tview/Makefile: -------------------------------------------------------------------------------- 1 | APP = tview 2 | STACK = 1024k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/tview/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/tview/tview.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/tview/tview.c -------------------------------------------------------------------------------- /src/tview/tview.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/tview/tview.hrb -------------------------------------------------------------------------------- /src/type/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/type/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/type/Makefile: -------------------------------------------------------------------------------- 1 | APP = type 2 | STACK = 1k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/type/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/type/type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/type/type.c -------------------------------------------------------------------------------- /src/type/type.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/type/type.hrb -------------------------------------------------------------------------------- /src/walk/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/walk/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/walk/Makefile: -------------------------------------------------------------------------------- 1 | APP = walk 2 | STACK = 1k 3 | MALLOC = 48k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/walk/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/walk/walk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/walk/walk.c -------------------------------------------------------------------------------- /src/walk/walk.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/walk/walk.hrb -------------------------------------------------------------------------------- /src/winhelo/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/winhelo/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/winhelo/Makefile: -------------------------------------------------------------------------------- 1 | APP = winhelo 2 | STACK = 8k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | 7 | $(APP).hrb : $(APP).org Makefile 8 | $(COPY) $(APP).org $(APP).hrb 9 | -------------------------------------------------------------------------------- /src/winhelo/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/winhelo/winhelo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/winhelo/winhelo.c -------------------------------------------------------------------------------- /src/winhelo/winhelo.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/winhelo/winhelo.hrb -------------------------------------------------------------------------------- /src/winhelo2/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/winhelo2/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/winhelo2/Makefile: -------------------------------------------------------------------------------- 1 | APP = winhelo2 2 | STACK = 8k 3 | MALLOC = 0k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/winhelo2/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/winhelo2/winhelo2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/winhelo2/winhelo2.c -------------------------------------------------------------------------------- /src/winhelo2/winhelo2.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/winhelo2/winhelo2.hrb -------------------------------------------------------------------------------- /src/winhelo3/!cons_9x.bat: -------------------------------------------------------------------------------- 1 | command -------------------------------------------------------------------------------- /src/winhelo3/!cons_nt.bat: -------------------------------------------------------------------------------- 1 | cmd.exe -------------------------------------------------------------------------------- /src/winhelo3/Makefile: -------------------------------------------------------------------------------- 1 | APP = winhelo3 2 | STACK = 1k 3 | MALLOC = 40k 4 | 5 | include ../app_make.txt 6 | -------------------------------------------------------------------------------- /src/winhelo3/make.bat: -------------------------------------------------------------------------------- 1 | ..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 -------------------------------------------------------------------------------- /src/winhelo3/winhelo3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/winhelo3/winhelo3.c -------------------------------------------------------------------------------- /src/winhelo3/winhelo3.hrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/src/winhelo3/winhelo3.hrb -------------------------------------------------------------------------------- /z_tools/OSASK0.PSF: -------------------------------------------------------------------------------- 1 | setvesa 3 0x114 2 | mouseaccel 1 1 3 | -------------------------------------------------------------------------------- /z_tools/aksa.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/aksa.exe -------------------------------------------------------------------------------- /z_tools/aska.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/aska.exe -------------------------------------------------------------------------------- /z_tools/bim2bin.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/bim2bin.exe -------------------------------------------------------------------------------- /z_tools/bim2hrb.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/bim2hrb.exe -------------------------------------------------------------------------------- /z_tools/bin2obj.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/bin2obj.exe -------------------------------------------------------------------------------- /z_tools/cc1.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/cc1.exe -------------------------------------------------------------------------------- /z_tools/com_mak.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/com_mak.txt -------------------------------------------------------------------------------- /z_tools/comcom.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/comcom.exe -------------------------------------------------------------------------------- /z_tools/cpp0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/cpp0.exe -------------------------------------------------------------------------------- /z_tools/doscmd.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/doscmd.exe -------------------------------------------------------------------------------- /z_tools/dsar.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/dsar.bat -------------------------------------------------------------------------------- /z_tools/edimg.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/edimg.exe -------------------------------------------------------------------------------- /z_tools/edimgopt.txt: -------------------------------------------------------------------------------- 1 | opt imgin:../z_tools/osa_qemu/osaimgqe.bin 2 | copy from:../z_tools/OSASK0.PSF to:@: 3 | copy from:../z_tools/!built.bin to:@: 4 | 5 | opt imgout:../z_tools/qemu/fdimage0.bin 6 | -------------------------------------------------------------------------------- /z_tools/esart5.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set esar_sartol=sartol.exe 4 | set esar_bim2bin=bim2bin.exe 5 | set esar_wce=wce.exe 6 | 7 | if exist %1.sar goto end 8 | 9 | if %2.==. goto all 10 | %esar_wce% %esar_sartol% e %1.sar %1 !1 #b=%1 %2 %3 %4 %5 %6 %7 %8 %9 11 | goto tek5 12 | 13 | :all 14 | %esar_wce% %esar_sartol% e %1.sar %1 !1 #b=%1 * 15 | 16 | :tek5 17 | %esar_wce% %esar_bim2bin% -osacmp -tek5 in:%1.sar out:%1.sar 18 | 19 | :end -------------------------------------------------------------------------------- /z_tools/fdimg0at.tek: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/fdimg0at.tek -------------------------------------------------------------------------------- /z_tools/fdimg0tw.tek: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/fdimg0tw.tek -------------------------------------------------------------------------------- /z_tools/gas2nask.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/gas2nask.exe -------------------------------------------------------------------------------- /z_tools/golib00.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/golib00.exe -------------------------------------------------------------------------------- /z_tools/guigui00/errno.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(ERRNO_H)) 4 | 5 | #define ERRNO_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | extern int errno; 12 | 13 | #define ENOENT 2 /* No such file or directory */ 14 | #define ERANGE 34 /* Result too large (or too small) */ 15 | 16 | #if (defined(__cplusplus)) 17 | } 18 | #endif 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /z_tools/guigui00/float.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2002 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(FLOAT_H)) 4 | 5 | #define FLOAT_H 1 6 | 7 | #define FLT_RADIX 2 8 | #define FLT_ROUNDS 1 /* nearest */ 9 | #define FLT_DIG 6 10 | #define FLT_EPSILON 1.19209290e-07F 11 | #define FLT_MANT_DIG 24 12 | #define FLT_MAX 3.40282347e+38F 13 | #define FLT_MAX_EXP (+128) 14 | #define FLT_MIN 1.17549435e-38F 15 | #define FLT_MIN_EXP (-125) 16 | 17 | #define DBL_DIG 15 18 | #define DBL_EPSILON 2.2204460492503131e-16 19 | #define DBL_MANT_DIG 53 20 | #define DBL_MAX 1.7976931348623157e+308 21 | #define DBL_MAX_EXP 1024 22 | #define DBL_MIN 2.2250738585072014e-308 23 | #define DBL_MIN_EXP (-1021) 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /z_tools/guigui00/gg00libc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/guigui00/gg00libc.lib -------------------------------------------------------------------------------- /z_tools/guigui00/gg00old0.rul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/guigui00/gg00old0.rul -------------------------------------------------------------------------------- /z_tools/guigui00/golibc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/guigui00/golibc.lib -------------------------------------------------------------------------------- /z_tools/guigui00/guigui00.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/guigui00/guigui00.h -------------------------------------------------------------------------------- /z_tools/guigui00/guigui00.rul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/guigui00/guigui00.rul -------------------------------------------------------------------------------- /z_tools/guigui00/limits.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2002 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(LIMITS_H)) 4 | 5 | #define LIMITS_H 1 6 | 7 | #define CHAR_BIT 8 8 | #define CHAR_MAX (+127) 9 | #define CHAR_MIN 0 10 | #define INT_MAX (+0x7fffffff) 11 | #define INT_MIN (-0x7fffffff) 12 | #define LONG_MAX INT_MAX 13 | #define LONG_MIN INT_MIN 14 | #define SCHAR_MAX (+127) 15 | #define SCHAR_MIN (-127) 16 | #define SHRT_MAX (+0x7fff) 17 | #define SHRT_MIN (-0x7fff) 18 | #define UCHAR_MAX (+0xff) 19 | #define UINT_MAX (+0xffffffff) 20 | #define ULONG_MAX UINT_MAX 21 | #define USHRT_MAX (+0xffff) 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /z_tools/guigui00/math.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(MATH_H)) 4 | 5 | #define MATH_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | double sin(double); 12 | double cos(double); 13 | double sqrt(double); 14 | double ldexp(double x, int n); 15 | double frexp(double x, int *exp); 16 | 17 | extern __inline__ double sin(double x) 18 | { 19 | double res; 20 | __asm__ ("fsin" : "=t" (res) : "0" (x)); 21 | return res; 22 | } 23 | 24 | extern __inline__ double cos(double x) 25 | { 26 | double res; 27 | __asm__ ("fcos" : "=t" (res) : "0" (x)); 28 | return res; 29 | } 30 | 31 | extern __inline__ double sqrt(double x) 32 | { 33 | double res; 34 | __asm__ ("fsqrt" : "=t" (res) : "0" (x)); 35 | return res; 36 | } 37 | 38 | #if (defined(__cplusplus)) 39 | } 40 | #endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /z_tools/guigui00/setjmp.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(SETJMP_H)) 4 | 5 | #define SETJMP_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | typedef int jmp_buf[3]; /* EBP, EIP, ESP */ 12 | 13 | #define setjmp(env) __builtin_setjmp(env) 14 | #define longjmp(env, val) __builtin_longjmp(env, val) 15 | 16 | #if (defined(__cplusplus)) 17 | } 18 | #endif 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /z_tools/guigui00/stdarg.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDARG_H)) 4 | 5 | #define STDARG_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #define va_start(v,l) __builtin_stdarg_start((v),l) 12 | #define va_end __builtin_va_end 13 | #define va_arg __builtin_va_arg 14 | #define va_copy(d,s) __builtin_va_copy((d),(s)) 15 | #define va_list __builtin_va_list 16 | 17 | #if (defined(__cplusplus)) 18 | } 19 | #endif 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /z_tools/guigui00/stddef.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDDEF_H)) 4 | 5 | #define STDDEF_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | typedef unsigned int size_t; 12 | 13 | #if (defined(__cplusplus)) 14 | } 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /z_tools/guigui00/stdio.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDIO_H)) 4 | 5 | #define STDIO_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #if (!defined(NULL)) 12 | #define NULL ((void *) 0) 13 | #endif 14 | 15 | #include 16 | 17 | int sprintf(char *s, const char *format, ...); 18 | int vsprintf(char *s, const char *format, va_list arg); 19 | 20 | #if (defined(__cplusplus)) 21 | } 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /z_tools/guigui00/stdlib.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDLIB_H)) 4 | 5 | #define STDLIB_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #include /* size_t */ 12 | 13 | #define RAND_MAX 0x7fff 14 | #define srand(seed) (void) (rand_seed = (seed)) 15 | 16 | int abs(int n); 17 | double atof(const char *s); 18 | int atoi(const char *s); 19 | void qsort(void *base, size_t n, size_t size, 20 | int (*cmp)(const void *, const void *)); 21 | int rand(void); 22 | extern unsigned int rand_seed; 23 | double strtod(const char *s, const char **endp); 24 | long strtol(const char *s, const char **endp, int base); 25 | unsigned long strtoul(const char *s, const char **endp, int base); 26 | 27 | void *malloc(unsigned int nbytes); 28 | void free(void *ap); 29 | 30 | #if (defined(__cplusplus)) 31 | } 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /z_tools/guigui00/string.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STRING_H)) 4 | 5 | #define STRING_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #include /* size_t */ 12 | 13 | char *strcpy(char *s, const char *ct); 14 | char *strncpy(char *s, const char *ct, size_t n); 15 | char *strcat(char *s, const char *ct); 16 | char *strncat(char *s, const char *ct, size_t n); 17 | int strcmp(const char *cs, const char *ct); 18 | int strncmp(const char *cs, const char *ct, size_t n); 19 | char *strchr(const char *cs, int c); 20 | char *strrchr(const char *cs, int c); 21 | size_t strspn(const char *s, const char *accept); 22 | size_t strcspn(const char *s, const char *reject); 23 | char *strpbrk(const char *s, const char *accept); 24 | char *strstr(const char *cs, const char *ct); 25 | size_t strlen(const char *cs); 26 | 27 | void *memcpy(void *s, const void *ct, size_t n); 28 | void *memmove(void *s, const void *ct, size_t n); 29 | int memcmp(const void *cs, const void *ct, size_t n); 30 | void *memchr(const void *cs, int c, size_t n); 31 | void *memset(void *s, int c, size_t n); 32 | char *strdup(const char *s); 33 | 34 | #if (defined(__cplusplus)) 35 | } 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /z_tools/haribote/errno.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(ERRNO_H)) 4 | 5 | #define ERRNO_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | extern int errno; 12 | 13 | #define ENOENT 2 /* No such file or directory */ 14 | #define ERANGE 34 /* Result too large (or too small) */ 15 | 16 | #if (defined(__cplusplus)) 17 | } 18 | #endif 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /z_tools/haribote/float.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2002 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(FLOAT_H)) 4 | 5 | #define FLOAT_H 1 6 | 7 | #define FLT_RADIX 2 8 | #define FLT_ROUNDS 1 /* nearest */ 9 | #define FLT_DIG 6 10 | #define FLT_EPSILON 1.19209290e-07F 11 | #define FLT_MANT_DIG 24 12 | #define FLT_MAX 3.40282347e+38F 13 | #define FLT_MAX_EXP (+128) 14 | #define FLT_MIN 1.17549435e-38F 15 | #define FLT_MIN_EXP (-125) 16 | 17 | #define DBL_DIG 15 18 | #define DBL_EPSILON 2.2204460492503131e-16 19 | #define DBL_MANT_DIG 53 20 | #define DBL_MAX 1.7976931348623157e+308 21 | #define DBL_MAX_EXP 1024 22 | #define DBL_MIN 2.2250738585072014e-308 23 | #define DBL_MIN_EXP (-1021) 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /z_tools/haribote/golibc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/haribote/golibc.lib -------------------------------------------------------------------------------- /z_tools/haribote/haribote.rul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/haribote/haribote.rul -------------------------------------------------------------------------------- /z_tools/haribote/harilibc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/haribote/harilibc.lib -------------------------------------------------------------------------------- /z_tools/haribote/limits.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2002 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(LIMITS_H)) 4 | 5 | #define LIMITS_H 1 6 | 7 | #define CHAR_BIT 8 8 | #define CHAR_MAX (+127) 9 | #define CHAR_MIN 0 10 | #define INT_MAX (+0x7fffffff) 11 | #define INT_MIN (-0x7fffffff) 12 | #define LONG_MAX INT_MAX 13 | #define LONG_MIN INT_MIN 14 | #define SCHAR_MAX (+127) 15 | #define SCHAR_MIN (-127) 16 | #define SHRT_MAX (+0x7fff) 17 | #define SHRT_MIN (-0x7fff) 18 | #define UCHAR_MAX (+0xff) 19 | #define UINT_MAX (+0xffffffff) 20 | #define ULONG_MAX UINT_MAX 21 | #define USHRT_MAX (+0xffff) 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /z_tools/haribote/math.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(MATH_H)) 4 | 5 | #define MATH_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | double sin(double); 12 | double cos(double); 13 | double sqrt(double); 14 | double ldexp(double x, int n); 15 | double frexp(double x, int *exp); 16 | 17 | extern __inline__ double sin(double x) 18 | { 19 | double res; 20 | __asm__ ("fsin" : "=t" (res) : "0" (x)); 21 | return res; 22 | } 23 | 24 | extern __inline__ double cos(double x) 25 | { 26 | double res; 27 | __asm__ ("fcos" : "=t" (res) : "0" (x)); 28 | return res; 29 | } 30 | 31 | extern __inline__ double sqrt(double x) 32 | { 33 | double res; 34 | __asm__ ("fsqrt" : "=t" (res) : "0" (x)); 35 | return res; 36 | } 37 | 38 | #if (defined(__cplusplus)) 39 | } 40 | #endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /z_tools/haribote/setjmp.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(SETJMP_H)) 4 | 5 | #define SETJMP_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | typedef int jmp_buf[3]; /* EBP, EIP, ESP */ 12 | 13 | #define setjmp(env) __builtin_setjmp(env) 14 | #define longjmp(env, val) __builtin_longjmp(env, val) 15 | 16 | #if (defined(__cplusplus)) 17 | } 18 | #endif 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /z_tools/haribote/stdarg.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDARG_H)) 4 | 5 | #define STDARG_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #define va_start(v,l) __builtin_stdarg_start((v),l) 12 | #define va_end __builtin_va_end 13 | #define va_arg __builtin_va_arg 14 | #define va_copy(d,s) __builtin_va_copy((d),(s)) 15 | #define va_list __builtin_va_list 16 | 17 | #if (defined(__cplusplus)) 18 | } 19 | #endif 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /z_tools/haribote/stddef.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDDEF_H)) 4 | 5 | #define STDDEF_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | typedef unsigned int size_t; 12 | 13 | #if (defined(__cplusplus)) 14 | } 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /z_tools/haribote/stdio.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDIO_H)) 4 | 5 | #define STDIO_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #if (!defined(NULL)) 12 | #define NULL ((void *) 0) 13 | #endif 14 | 15 | #include 16 | 17 | int sprintf(char *s, const char *format, ...); 18 | int vsprintf(char *s, const char *format, va_list arg); 19 | 20 | #if (defined(__cplusplus)) 21 | } 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /z_tools/haribote/string.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STRING_H)) 4 | 5 | #define STRING_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #include /* size_t */ 12 | 13 | char *strcpy(char *s, const char *ct); 14 | char *strncpy(char *s, const char *ct, size_t n); 15 | char *strcat(char *s, const char *ct); 16 | char *strncat(char *s, const char *ct, size_t n); 17 | int strcmp(const char *cs, const char *ct); 18 | int strncmp(const char *cs, const char *ct, size_t n); 19 | char *strchr(const char *cs, int c); 20 | char *strrchr(const char *cs, int c); 21 | size_t strspn(const char *s, const char *accept); 22 | size_t strcspn(const char *s, const char *reject); 23 | char *strpbrk(const char *s, const char *accept); 24 | char *strstr(const char *cs, const char *ct); 25 | size_t strlen(const char *cs); 26 | 27 | void *memcpy(void *s, const void *ct, size_t n); 28 | void *memmove(void *s, const void *ct, size_t n); 29 | int memcmp(const void *cs, const void *ct, size_t n); 30 | void *memchr(const void *cs, int c, size_t n); 31 | void *memset(void *s, int c, size_t n); 32 | char *strdup(const char *s); 33 | 34 | #if (defined(__cplusplus)) 35 | } 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /z_tools/imgtol.com: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/imgtol.com -------------------------------------------------------------------------------- /z_tools/ld.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/ld.exe -------------------------------------------------------------------------------- /z_tools/make.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/make.exe -------------------------------------------------------------------------------- /z_tools/makefont.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/makefont.exe -------------------------------------------------------------------------------- /z_tools/nask.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/nask.exe -------------------------------------------------------------------------------- /z_tools/naskcnv0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/naskcnv0.exe -------------------------------------------------------------------------------- /z_tools/nothing.com: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/nothing.com -------------------------------------------------------------------------------- /z_tools/obj2bim.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/obj2bim.exe -------------------------------------------------------------------------------- /z_tools/osa_qemu/Makefile: -------------------------------------------------------------------------------- 1 | MAKE = ..\make.exe -r 2 | OSALINK = ..\osalink1.exe 3 | MV = ren 4 | EDIMG = ..\edimg.exe 5 | RM = del 6 | 7 | ALL : 8 | $(MAKE) osaimgqe.bin 9 | 10 | osask_qe.exe : Makefile OSASK.EXE timerdrv.tek osalink1.opt 11 | -$(RM) osask_qe.exe 12 | $(MV) OSASK.EXE osask_at.exe 13 | $(OSALINK) 14 | $(MV) osask.exe osask_qe.exe 15 | $(MV) osask_at.exe OSASK.EXE 16 | 17 | osask_qe.sys : Makefile osask_qe.exe 18 | $(EDIMG) binin:osask_qe.exe exe2bin seg:2048 binout:osask_qe.sys 19 | 20 | osaimgqe.bin : Makefile OSAIMGAT.BIN osask_qe.sys 21 | $(EDIMG) @edimgopt.txt 22 | -------------------------------------------------------------------------------- /z_tools/osa_qemu/OSAIMGAT.BIN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/osa_qemu/OSAIMGAT.BIN -------------------------------------------------------------------------------- /z_tools/osa_qemu/OSASK.EXE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/osa_qemu/OSASK.EXE -------------------------------------------------------------------------------- /z_tools/osa_qemu/OSASK0.PSF: -------------------------------------------------------------------------------- 1 | setvesa 3 0x114 2 | mouseaccel 1 1 3 | -------------------------------------------------------------------------------- /z_tools/osa_qemu/edimgopt.txt: -------------------------------------------------------------------------------- 1 | opt imgin:OSAIMGAT.BIN 2 | ovrcopy from:osask_qe.sys to:@:OSASK.SYS 3 | copy from:OSASK0.PSF to:@: 4 | opt imgout:osaimgqe.bin 5 | -------------------------------------------------------------------------------- /z_tools/osa_qemu/manual.bat: -------------------------------------------------------------------------------- 1 | ..\nothing.com 2 | del osask_at.exe 3 | del osask_qe.exe 4 | ren OSASK.EXE osask_at.exe 5 | ..\osalink1.exe 6 | ren osask.exe osask_qe.exe 7 | ren osask_at.exe OSASK.EXE 8 | ..\imgtol.com s osask_qe.exe osask_qe.sys 2048 9 | ..\edimg.exe @edimgopt.txt -------------------------------------------------------------------------------- /z_tools/osa_qemu/osalink1.opt: -------------------------------------------------------------------------------- 1 | osask_at.exe 2 | timerdrv.tek 3 | -------------------------------------------------------------------------------- /z_tools/osa_qemu/timerdrv.tek: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/osa_qemu/timerdrv.tek -------------------------------------------------------------------------------- /z_tools/osalink1.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/osalink1.exe -------------------------------------------------------------------------------- /z_tools/qemu/Makefile: -------------------------------------------------------------------------------- 1 | default : 2 | qemu-win.bat 3 | -------------------------------------------------------------------------------- /z_tools/qemu/SDL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu/SDL.dll -------------------------------------------------------------------------------- /z_tools/qemu/bios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu/bios.bin -------------------------------------------------------------------------------- /z_tools/qemu/fdimage0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu/fdimage0.bin -------------------------------------------------------------------------------- /z_tools/qemu/qemu-win.bat: -------------------------------------------------------------------------------- 1 | @set SDL_VIDEODRIVER=windib 2 | @set QEMU_AUDIO_DRV=none 3 | @set QEMU_AUDIO_LOG_TO_MONITOR=0 4 | qemu.exe -L . -m 32 -localtime -std-vga -fda fdimage0.bin -------------------------------------------------------------------------------- /z_tools/qemu/qemu.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu/qemu.exe -------------------------------------------------------------------------------- /z_tools/qemu/vgabios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu/vgabios.bin -------------------------------------------------------------------------------- /z_tools/qemu_9x/Makefile: -------------------------------------------------------------------------------- 1 | default : 2 | qemu.exe -L . --fda fdimage0.bin 3 | -------------------------------------------------------------------------------- /z_tools/qemu_9x/SDL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu_9x/SDL.dll -------------------------------------------------------------------------------- /z_tools/qemu_9x/bios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu_9x/bios.bin -------------------------------------------------------------------------------- /z_tools/qemu_9x/qemu.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu_9x/qemu.exe -------------------------------------------------------------------------------- /z_tools/qemu_9x/vgabios.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/qemu_9x/vgabios.bin -------------------------------------------------------------------------------- /z_tools/sartol.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/sartol.exe -------------------------------------------------------------------------------- /z_tools/sjisconv.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/sjisconv.exe -------------------------------------------------------------------------------- /z_tools/t5lzma.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/t5lzma.exe -------------------------------------------------------------------------------- /z_tools/upx.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/upx.exe -------------------------------------------------------------------------------- /z_tools/wce.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/wce.exe -------------------------------------------------------------------------------- /z_tools/win32/errno.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(ERRNO_H)) 4 | 5 | #define ERRNO_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | extern int errno; 12 | 13 | #define ENOENT 2 /* No such file or directory */ 14 | #define ERANGE 34 /* Result too large (or too small) */ 15 | 16 | #if (defined(__cplusplus)) 17 | } 18 | #endif 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /z_tools/win32/float.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2002 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(FLOAT_H)) 4 | 5 | #define FLOAT_H 1 6 | 7 | #define FLT_RADIX 2 8 | #define FLT_ROUNDS 1 /* nearest */ 9 | #define FLT_DIG 6 10 | #define FLT_EPSILON 1.19209290e-07F 11 | #define FLT_MANT_DIG 24 12 | #define FLT_MAX 3.40282347e+38F 13 | #define FLT_MAX_EXP (+128) 14 | #define FLT_MIN 1.17549435e-38F 15 | #define FLT_MIN_EXP (-125) 16 | 17 | #define DBL_DIG 15 18 | #define DBL_EPSILON 2.2204460492503131e-16 19 | #define DBL_MANT_DIG 53 20 | #define DBL_MAX 1.7976931348623157e+308 21 | #define DBL_MAX_EXP 1024 22 | #define DBL_MIN 2.2250738585072014e-308 23 | #define DBL_MIN_EXP (-1021) 24 | 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /z_tools/win32/golibc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/win32/golibc.lib -------------------------------------------------------------------------------- /z_tools/win32/libmingw.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/win32/libmingw.lib -------------------------------------------------------------------------------- /z_tools/win32/limits.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2002 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(LIMITS_H)) 4 | 5 | #define LIMITS_H 1 6 | 7 | #define CHAR_BIT 8 8 | #define CHAR_MAX (+127) 9 | #define CHAR_MIN 0 10 | #define INT_MAX (+0x7fffffff) 11 | #define INT_MIN (-0x7fffffff) 12 | #define LONG_MAX INT_MAX 13 | #define LONG_MIN INT_MIN 14 | #define SCHAR_MAX (+127) 15 | #define SCHAR_MIN (-127) 16 | #define SHRT_MAX (+0x7fff) 17 | #define SHRT_MIN (-0x7fff) 18 | #define UCHAR_MAX (+0xff) 19 | #define UINT_MAX (+0xffffffff) 20 | #define ULONG_MAX UINT_MAX 21 | #define USHRT_MAX (+0xffff) 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /z_tools/win32/math.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(MATH_H)) 4 | 5 | #define MATH_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | double sin(double); 12 | double cos(double); 13 | double sqrt(double); 14 | double ldexp(double x, int n); 15 | double frexp(double x, int *exp); 16 | 17 | extern __inline__ double sin(double x) 18 | { 19 | double res; 20 | __asm__ ("fsin" : "=t" (res) : "0" (x)); 21 | return res; 22 | } 23 | 24 | extern __inline__ double cos(double x) 25 | { 26 | double res; 27 | __asm__ ("fcos" : "=t" (res) : "0" (x)); 28 | return res; 29 | } 30 | 31 | extern __inline__ double sqrt(double x) 32 | { 33 | double res; 34 | __asm__ ("fsqrt" : "=t" (res) : "0" (x)); 35 | return res; 36 | } 37 | 38 | #if (defined(__cplusplus)) 39 | } 40 | #endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /z_tools/win32/setjmp.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(SETJMP_H)) 4 | 5 | #define SETJMP_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | typedef int jmp_buf[3]; /* EBP, EIP, ESP */ 12 | 13 | #define setjmp(env) __builtin_setjmp(env) 14 | #define longjmp(env, val) __builtin_longjmp(env, val) 15 | 16 | #if (defined(__cplusplus)) 17 | } 18 | #endif 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /z_tools/win32/stdarg.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDARG_H)) 4 | 5 | #define STDARG_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #define va_start(v,l) __builtin_stdarg_start((v),l) 12 | #define va_end __builtin_va_end 13 | #define va_arg __builtin_va_arg 14 | #define va_copy(d,s) __builtin_va_copy((d),(s)) 15 | #define va_list __builtin_va_list 16 | 17 | #if (defined(__cplusplus)) 18 | } 19 | #endif 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /z_tools/win32/stddef.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDDEF_H)) 4 | 5 | #define STDDEF_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | typedef unsigned int size_t; 12 | 13 | #if (defined(__cplusplus)) 14 | } 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /z_tools/win32/stdio.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDIO_H)) 4 | 5 | #define STDIO_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #if (!defined(NULL)) 12 | #define NULL ((void *) 0) 13 | #endif 14 | 15 | #include 16 | 17 | /* golibc */ 18 | int sprintf(char *s, const char *format, ...); 19 | int vsprintf(char *s, const char *format, va_list arg); 20 | 21 | /* w32clibc */ 22 | typedef struct { 23 | unsigned int handle; 24 | int flags; /* bit0:text/bin, bit1:input-enabe, bit2:output-enable */ 25 | /* bit3:EOF, bit4:ungetc-enable */ 26 | int ungetc; 27 | } FILE; 28 | extern FILE __stdin, __stdout, __stderr; 29 | #define stdin (&__stdin) 30 | #define stdout (&__stdout) 31 | #define stderr (&__stderr) 32 | #define EOF -1 33 | #define SEEK_SET 0 34 | #define SEEK_CUR 1 35 | #define SEEK_END 2 36 | 37 | unsigned int fwrite(const void *ptr, unsigned int size, unsigned int nmemb, FILE *stream); 38 | int fputs(const char *s, FILE *stream); 39 | int fprintf(FILE *stream, const char *format, ...); 40 | int vfprintf(FILE *stream, const char *format, va_list arg); 41 | int puts(const char *s); 42 | int printf(const char *format, ...); 43 | int vprintf(const char *format, va_list arg); 44 | int fclose(FILE *stream); 45 | int fflush(FILE *stream); 46 | FILE *fopen(const char *filename, const char *mode); 47 | unsigned int fread(void *ptr, unsigned int size, unsigned int nobj, FILE *stream); 48 | int fseek(FILE *stream, int offset, int origin); 49 | int ftell(FILE *stream); 50 | int remove(const char *filename); 51 | int fputc(int c, FILE *stream); 52 | void clearerr(FILE *stream); 53 | void rewind(FILE *stream); 54 | int fgetc(FILE *stream); 55 | int feof(FILE *stream); 56 | #define getc fgetc 57 | #define getchar() getc(stdin) 58 | #define putchar(c) fputc(c, stdout) 59 | char *fgets(char *s, int n, FILE *stream); 60 | char *gets(char *s); 61 | int ungetc(int c, FILE *stream); 62 | 63 | #if (defined(__cplusplus)) 64 | } 65 | #endif 66 | 67 | #endif 68 | -------------------------------------------------------------------------------- /z_tools/win32/stdlib.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STDLIB_H)) 4 | 5 | #define STDLIB_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #include /* size_t */ 12 | 13 | #define RAND_MAX 0x7fff 14 | #define srand(seed) (void) (rand_seed = (seed)) 15 | 16 | #define EXIT_SUCCESS 0 17 | #define EXIT_FAILURE 1 18 | 19 | int abs(int n); 20 | double atof(const char *s); 21 | int atoi(const char *s); 22 | void qsort(void *base, size_t n, size_t size, 23 | int (*cmp)(const void *, const void *)); 24 | int rand(void); 25 | extern unsigned int rand_seed; 26 | double strtod(const char *s, const char **endp); 27 | long strtol(const char *s, const char **endp, int base); 28 | unsigned long strtoul(const char *s, const char **endp, int base); 29 | 30 | void *malloc(unsigned int nbytes); 31 | void free(void *ap); 32 | void exit(int status); 33 | #define abort() exit(EXIT_FAILURE) 34 | int system(const char *s); 35 | 36 | #if (defined(__cplusplus)) 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /z_tools/win32/string.h: -------------------------------------------------------------------------------- 1 | /* copyright(C) 2003 H.Kawai (under KL-01). */ 2 | 3 | #if (!defined(STRING_H)) 4 | 5 | #define STRING_H 1 6 | 7 | #if (defined(__cplusplus)) 8 | extern "C" { 9 | #endif 10 | 11 | #include /* size_t */ 12 | 13 | char *strcpy(char *s, const char *ct); 14 | char *strncpy(char *s, const char *ct, size_t n); 15 | char *strcat(char *s, const char *ct); 16 | char *strncat(char *s, const char *ct, size_t n); 17 | int strcmp(const char *cs, const char *ct); 18 | int strncmp(const char *cs, const char *ct, size_t n); 19 | char *strchr(const char *cs, int c); 20 | char *strrchr(const char *cs, int c); 21 | size_t strspn(const char *s, const char *accept); 22 | size_t strcspn(const char *s, const char *reject); 23 | char *strpbrk(const char *s, const char *accept); 24 | char *strstr(const char *cs, const char *ct); 25 | size_t strlen(const char *cs); 26 | 27 | void *memcpy(void *s, const void *ct, size_t n); 28 | void *memmove(void *s, const void *ct, size_t n); 29 | int memcmp(const void *cs, const void *ct, size_t n); 30 | void *memchr(const void *cs, int c, size_t n); 31 | void *memset(void *s, int c, size_t n); 32 | char *strdup(const char *s); 33 | 34 | #if (defined(__cplusplus)) 35 | } 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /z_tools/win32/w32clibc.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tassandar/OSASK/9d5c294becd95af1a633cc3ecdd8853da4a3557e/z_tools/win32/w32clibc.lib --------------------------------------------------------------------------------