Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Trap #3 - I/O Allocation Traps ====== ^D0 Key^QDOS Mnemonic^SMS Mnemonic^Description^ | $00 |IO_PEND |IOB_TEST |[[TEST|Test for pending input]]| | $01 |IO_FBYTE |IOB_FBYT |[[FBYT|Fetch a byte]]| | $02 |IO_FLINE |IOB_FLIN |[[FLIN|Fetch a line of bytes]]| | $03 |IO_FSTRG |IOB_FMUL |[[FLIN|Fetch a string]]| | $04 |IO_EDLIN |IOB_ELIN |[[ELIN|Edit a line]]| | $05 |IO_SBYTE |IOB_SBYT |[[SBYT|Send one byte]]| | $06 | - |IOB_SUML|[[SUML|Send a string of untranslated bytes]]| | $07 |IO_SSTRG |IOB_SMUL |[[SUML|Send a string of bytes]]| | $08 |Not implemented||| | $09 |SD_EXTOP |IOW_XTOP |[[XTOP|Calls an external screen operation]]| | $0A |SD_PXENQ |IOW_PIXQ |[[PIXQ|Get window size/cursor position (pixels)]]| | $0B |SD_CHENQ |IOW_CHRQ |[[PIXQ|Get window size/cursor position (Characters)]]| | $0C |SD_BORDR |IOW_DEFB |[[DEFB|Sets the border on a window]]| | $0D |SD_WDEF |IOW_DEFW |[[DEFW|Re-defines a window]]| | $0E |SD_CURE |IOW_ECUR |[[ECUR|Enable a cursor]]| | $0F |SD_CURS |IOW_DCUR |[[ECUR|Disable a cursor]]| | $10 |SD_POS |IOW_SCUR |[[SCUR|Set cursor position]]| | $11 |SD_TAB |IOW_SCOL |[[SCUR|Set horizontal cursor position]]| | $12 |SD_NL |IOW_NEWL |[[SCUR|Do a newline]]| | $13 |SD_PCOL |IOW_PCOL |[[SCUR|Cursor to previous column]]| | $14 |SD_NCOL |IOW_NCOL |[[SCUR|Cursor to next column]]| | $15 |SD_PROW |IOW_PROW |[[SCUR|Cursor to previous row]]| | $16 |SD_NROW |IOW_NROW |[[SCUR|Cursor to next row]]| | $17 |SD_PIXP |IOW_SPIX |[[SPIX|Set cursor position by pixel]]| | $18 |SD_SCROL |IOW_SCRA |[[PANA|Scroll window]]| | $19 |SD_SCRTP |IOW_SCRT |[[PANA|Scroll top of window]]| | $1A |SD_SCRBT |IOW_SCRB |[[PANA|Scroll bottom of window]]| | $1B |SD_PAN |IOW_PANA |[[SCRA|Pan window]]| | $1C |Not implemented||| | $1D |Not implemented||| | $1E |SD_PANLN |IOW_PANL |[[SCRA|Pan cursor line]]| | $1F |SD_PANRT |IOW_PANR |[[SCRA|Pan right side of cursor line]]| | $20 |SD_CLEAR |IOW_CLRA |[[CLRA|Clears a window]]| | $21 |SD_CLRTP |IOW_CLRT |[[CLRA|Clear the top of a window]]| | $22 |SD_CLRBT |IOW_CLRB |[[CLRA|Clear the bottom of a window]]| | $23 |SD_CLRLN |IOW_CLRL |[[CLRA|Clears the whole of the cursor line]]| | $24 |SD_CLRRT |IOW_CLRR |[[CLRA|Clears the right side of the cursor line]]| | $25 |SD_FOUNT |IOW_FONT |[[FONT|Set the fonts for a window]]| | $26 |SD_RECOL |IOW_RCLR |[[RCLR|Recolour a window]]| | $27 |SD_SETPA |IOW_SPAP |[[SPAP|Set paper colour]]| | $28 |SD_SETST |IOW_SSTR |[[SPAP|Set strip colour]]| | $29 |SD_SETIN |IOW_SINK |[[SPAP|Set ink colour]]| | $2A |SD_SETFL |IOW_SFLA |[[SULA|Set flash mode]]| | $2B |SD_SETUL |IOW_SULA |[[SULA|Set underline mode]]| | $2C |SD_SETMD |IOW_SOVA |[[SOVA|Set PRINT mode]]| | $2D |SD_SETSZ |IOW_SSIZ |[[SSIZ|Set character size]]| | $2E |SD_FILL |IOW_BLOK |[[BLOK|Fill a block]]| | $2F |SD_DONL |IOW_DONL |[[DONL|Do a pending new line]]| | $30 |SD_POINT |IOG_DOT |[[DOT|Plot a point]]| | $31 |SD_LINE |IOG_LINE |[[DOT|Draw a line]]| | $32 |SD_ARC |IOG_ARC |[[DOT|Draw an arc of a circle]]| | $33 |SD_ELIPS |IOG_ELIP |[[DOT|Draw an ellipse (or circle)]]| | $34 |SD_SCALE |IOG_SCAL |[[DOT|Set the scale in a window]]| | $35 |SD_FLOOD |IOG_FILL |[[FILL|Set fill mode]]| | $36 |SD_GCUR |IOG_SGCR |[[DOT|Set cursor position using graphics co-ordinates]]| | $37-$3F |Not implemented||| | $40 |FS_CHECK |IOF_CHEK |[[CHEK|Check pending operations on a file]]| | $41 |FS_FLUSH |IOF_FLSH |[[FLSH|Flush a file's buffers to the device]]| | $42 |FS_POSAB |IOF_POSA |[[POSA|Set file position by absolute address]]| | $43 |FS_POSRE |IOF_POSR |[[POSA|Set file position by relative address]]| | $44 |Not implemented |Not implemented |Originally reserved for rename| | $45 |FS_MDINF |IOF_MINF |[[MINF|Get medium information]]| | $46 |FS_HEADS |IOF_SHDR |[[SHDR|Set a file header]]| | $47 |FS_HEADR |IOF_RHDR |[[RHDR|Read a file header]]| | $48 |FS_LOAD |IOF_LOAD |[[LOAD|Load a file]]| | $49 |FS_SAVE |IOF_SAVE |[[SAVE|Save a file]]| | $4A |FS_RENAME |IOF_RNAM |[[RNAM|Rename a file]]| | $4B |FS_TRUNCATE |IOF_TRNC |[[TRNC|Truncate a file at its current position]]| | $4C |Not implemented |IOF_DATE |[[DATE|Set or get a file's date(s)]]| | $4D |Not implemented |IOF_MKDIR |[[MKDIR|Create a new directory]]| | $4E |Not implemented |IOF_VERS |[[VERS|Set or get a file's version]]| | $4F |Not implemented |IOF_XINF |[[XINF|Get extended information]]| | $50 |Not implemented |IOW_PAPP |[[PAPP|Palette colour paper ]]| | $51 |Not implemented |IOW_STRP |[[PAPP|Palette colour strip]]| | $52 |Not implemented |IOW_INKP |[[PAPP|Palette colour ink]]| | $53 |Not implemented |IOW_BORP |[[BORP|Palette colour border]]| | $54 |Not implemented |IOW_PAPT |[[PAPP|True colour paper]]| | $55 |Not implemented |IOW_STRT |[[PAPP|True colour strip]]| | $56 |Not implemented |IOW_INKT |[[PAPP|True colour ink]]| | $57 |Not implemented |IOW_BORT |[[BORP|True colour border]]| | $58 |Not implemented |IOW_PAPN |[[PAPP|Native colour paper]]| | $59 |Not implemented |IOW_STRN |[[PAPP|Native colour strip]]| | $5A |Not implemented |IOW_INKN |[[PAPP|Native colour ink]]| | $5B |Not implemented |IOW_BORN |[[BORP|Native colour border]]| | $5C |Not implemented |IOW_BLKP |[[BLKP|Palette colour block]]| | $5D |Not implemented |IOW_BLKT |[[BLKP|True colour block]]| | $5E |Not implemented |IOW_BLKN |[[BLKP|Native colour block]]| | $5F |Not implemented ||| | $60 |Not implemented |IOW_PALQ |[[PALQ|Define QL palette]]| | $61 |Not implemented |IOW_PAL8 |[[PALQ|Define 8 bit palette]]| |$62-$6A|Not implemented ||| | $6B |Not implemented |IOW_WPAP |[[WPAP|Define screen wallpaper]]| qdosmsq/traps/trap_3/start.txt Last modified: 2009/05/19 15:23by george.gwilt