Skip to content

Latest commit

 

History

History
90 lines (73 loc) · 1.98 KB

sdk.md

File metadata and controls

90 lines (73 loc) · 1.98 KB

Pico Software Development Kit

Pico System Software/DOS SDK.

Targets

  • i86 Architeture
    • DOS 2 or Compatible
    • Pico System Software
    • Standalone (BIOS calls)

Tools

Archiver

Usage: i86-ar [-f archive] [-a file] [-l]
Options:
 -f archive      set archive file
 -a file         append file to archive
 -l              list all files from archive

Assembler

Usage: i86-as [-o output] [objects...]
Options:
 -o output       set output file

Linker

Usage: i86-ld [-f format] [-b] [-o output] [-L dir] [-l library] [-s stack_size] [objects...]
Options:
 -f format       set output format (see list bellow)
 -b              include bss space to output
 -o output       set output file
 -s stack_size   set stack size (default: 2048)
 -L dir          add to library dirs list
 -l library      add library (auto include 'lib' prefix)
Output format:
 picosystem|pico produce Pico System Software a.out
 v7|v7small      produce Seventh Edition UNIX a.out
 v7tiny          tiny model output (text/data/bss in one segment)
 com             DOS COM executable (ORG 0x100)
 sys             DOS SYS executable (ORG 0x0)
 pcboot          PC Boot Sector executable (ORG 0x7c00)

Object Symbols Dump

Usage: i86-nm [objects...]

Object info

Usage: i86-size [objects...]

Pico File System Tool

Usage: picofs [image] [command] [arguments ...]
Commands:
 genfs [size kib] [name] [bootloader]
 mkfs [size kib] [name] [bootloader]
 add [local file] [destination address]
 add_file [local file] [destination address]
 add_app [local file] [destination address]
 mkdir [address]
 df