Skip to content
Important Fixes & Breaking Changes

Important Fixes & Breaking Changes

Before this page you should know what the chapter means by a fixed bug (Differences from the original).

The BB2 C port fixes the bugs of Blitz Basic 2 one at a time. Nearly all of these fixes only matter to a program that ran into the bug: it crashed, hung or got a wrong result, and with the port it does not. A few fixes, though, can change a program that worked. This page lists every fixed bug in one table, so that you can see which fixes can concern your sources without reading all the pages of fixed bugs.

The five levels

Every fix has one of five levels. The level answers one question: can a program that ran correctly with Blitz Basic 2 behave differently with the port, and how hard is that to notice before it happens? A new runtime error ranks above a new compile error, since the compiler shows the one at once and the other only comes when the program runs into it.

  • 1, changes results. A program that ran correctly with the original can compute, print, draw or write something else, take another way through its code, or stop. Check your sources for the commands named.
  • 2, noticeable change. A program that ran correctly with the original still does its job, but something you may notice differs, such as the sound, a detail of the display or the events on a tape. Check whether your program needs adapting.
  • 3, new runtime error. A program that went wrong with the original stops with a runtime error instead, in most cases only with runtime error checking.
  • 4, new compile error. The compiler refuses a source that the original accepted, mostly with a wrong or random result.
  • 5, fix without side effects. A crash, hang, leak or wrong result is fixed. A program that never met the bug behaves as before.

A fix of level 3 or 4 is also described, with an example and what to change in a source, on the page Sources that compile differently.

All fixes

Each row names the topic, the library or the part of Blitz Basic 2 that is concerned (the compiler or the editor TED), and the commands. The sentence of a row leads to its description on the pages of fixed bugs, and the issue to its details and its test on GitHub. The table starts sorted by level and, inside a level, by issue number. With JavaScript, the column headers sort the table and the two lists above it show only one level or one topic.

1010 fixed original bugs, by level and issue number
LevelTopicLibrary or commandFixIssue
1Compiler=<
Compiler
=< is less-or-equal, the same as <=; the original compiled it as “not equal” without a message.#9
1SystemReplyRexxMsg
arexxlib
ReplyRexxMsg sends the result string when the sender asked for one (RXFF_RESULT); the original tested the function call bit, so a command asking for a result got none and a function call without the flag got one.#48
1InputType, AbsMouse, RelMouse, MouseButton, ClickButton
brexxlib
Type, AbsMouse, RelMouse, MouseButton and ClickButton leave a running Record or PlayBack going; the original ended it.#96
1SoundGetMedVolume
medlib
GetMedVolume only reads the volume; the original cleared it and silenced the channel, so a program that used the 0 to see a new note must use GetMedNote.#212
1SystemWriteSerialString
seriallib
WriteSerialString takes its flags as the help says, 1 waits and 2 sends the whole string; the original took both from the flag 2, so a program that passed 2 to wait passes 3.#254
1SystemReadSerial
seriallib
ReadSerial with the flag 1 waits for a byte, as the help says; the original waited only with the flag 2 and returned -1.#255
1StringsTranslate$
speaklib
Translate$ returns the phonemes without a 0 byte at the end; the original’s result was one character too long, so a program that cut off that character now loses a real one.#277
1GraphicsCustomSprites
displaylib
CustomSprites counts its CCOffset in copper instructions, as documented; the original took it 16 times too large.#324
1GraphicsBox
2dlib
Box adds the BitMapOrigin origin once, like Line and Boxf; the original added it twice.#391
1GraphicsRenderToBitmap, RenderPoly
polylib
RenderPoly after RenderToBitmap b,d draws on bitmap b with d as the dither pattern, as documented; the original swapped the two.#421
1GraphicsBlockToShape
bb_blitlib
BlockToShape copies the whole shape, and with runtime error checking refuses one too large for one blit; the original copied one word per line, so of a shape wider than 16 pixels only part.#425
1Windows & screensRTEZGetLong
neilsreqtoolslib
RTEZGetLong without a default starts at 0 and returns 0 on cancel; the original started at, and on cancel returned, the number of the call before.#457
1Data structuresBankLimit
riamosfunclib
BankLimit n returns the new number of banks, as its manual gives; the original returned the address of the library’s new table of banks.#483
1SystemAddAppMenu
riapplib
AddAppMenu returns -1 on success, as AddAppWindow and AddAppIcon do; the original returned the address of the menu item, so a test for -1 failed.#518
1SystemRXRunCommand, RXRunScript, RXExecuteScript
riarexxlib
RXRunCommand returns -1 when the command was sent and 0 when not; the original returned a value the system left, which could be 0 for a command that was sent.#543
1SystemMakeCommodity
ricommoditieslib
A second MakeCommodity returns 0 while the program has a commodity, which stays in use; the original made a second commodity, which outlived the program with a deleted port.#560
1GraphicsCopperAGACol
ricopperfxlib
CopperAGACol used as a function returns -1 when it wrote the colour and 0 without a custom space; the original returned 1234 or its colour number.#590
1GraphicsDoColSplit
ricopperfxlib
DoColSplit used as a function returns -1 when it wrote the split and 0 without a custom space; the original returned whatever a register held.#592
1GraphicsGetCCOffset
ricopperfxlib
GetCCOffset returns the current offset after CopperResetAdr; the original returned -1.#593
1GraphicsDataTypeCreate
ridatatypeslib
A second DataTypeCreate returns 0 while the first object exists, which stays in use; the original made a new object and lost the memory of the first.#600
1GraphicsDerez
rifxlib
Derez used as a function returns -1 when it worked and 0 for a derez value of 0; the original returned whatever a register held.#672
1GraphicsFillPalette, AGAFillPalette
rigfxlib
FillPalette and AGAFillPalette with an end colour of 0 fill up to the last colour, as documented; the original filled nothing when the 0 was a constant or a word variable.#683
1GraphicsILBMPalette
ripacklib
ILBMPalette with an offset makes a palette that is too small larger and keeps its colours; the original replaced it by the CMAP’s colours from colour 0 on.#769
1SystemSerialGot
riseriallib
SerialGot returns the number of bytes waiting, as its help text says; the original returned -1 when any byte was waiting.#802
1FilesPutIconObject
ritooltypeslib
PutIconObject returns 0 when the icon cannot be written, and the icon stays loaded; the original returned -1 and dropped it.#851
1FilesSetToolValue
ritooltypeslib
SetToolValue replaces only the tool type of that name; the original replaced the first one that began with it, FLAG for FL.#853
1SystemOpenDisk
ritrackdisklib
OpenDisk unit# always opens trackdisk.device; the original opened the device named in an earlier OpenDisk, even one that had failed.#859
1GraphicsLoadShape
shapeslib
LoadShape refuses a picture taller than 1023 rows or wider than 992 pixels (“Can’t Read/Write Shapes File”), also without runtime error checking; the original loaded it with a wrapped blit size.#1046
1GraphicsLoadShape
shapeslib
LoadShape refuses a picture whose plane with one extra word per row is 64 KB or more, such as 992 by 528 pixels (“Can’t Read/Write Shapes File”); the original loaded it, and BBlit saved the wrong amount of the background.#1055
1Systemrundebuglib, debuglib, errtraplibTwo programs with runtime error checking or SetErr run side by side; code with runtime error checking that runs in supervisor mode outside a SetInt routine hangs at its first trap, which the original took.#1069
1FilesFindVolume
riamosfunclib
FindVolume returns -1 for a device, volume or assign that is there, as documented; the original returned the address of its entry, so a test for -1 failed.#1082
1SystemStoreNVData
rinonvolatilelib
StoreNVData returns -1 when the item was stored and 0 when not, as documented; the original returned 0 for a stored item and an error code otherwise.#1085
1SystemAppEventID
riapplib
AppEventID returns -1 when there is no current App event, as the manual says; the original returned 0, which is also the id of an object.#1102
1SystemSetIOSize, DoSerialIO
rifastseriallib
SetIOSize n makes DoSerialIO transfer n bytes; the original transferred n + 1, one past buffers of n.#1158
1SystemD_FindVolume
rilesdebuglib
D_FindVolume returns -1 if the name is there and 0 if not, as FindVolume does; the original returned the address of the DOS list entry after it had released the list, so a test for -1 failed.#1167
1Compiler=, <>, <, >, <=, >=
Compiler
The operands of a comparison are compared with their own values, a Long against a Quick exactly; the original cut a Quick to a whole number when the result went to a Long (q>1 false for q=1.5, q>l and l<q disagreeing) and compared two Longs as Quick or Float values under a Quick or Float destination (100000001 equal to 100000000).#1177
1Compiler+, -, *, /
Compiler
A Quick in a Long computation keeps its fraction: the operation is computed with it and rounded to a whole number, down for +, -, * and a minus sign, towards zero for /; the original cut the Quick to a whole number first (r.l=q*2 2 for q=1.5, r.l=l/q 10 for l=10, NPrint q*100000 100000). Int(q) gives the old result.#1178
1CompilerCompilerAn array index after the first one is computed as a Long also without runtime error checking, so both builds use the same element; the original computed it as a Word there (g(1,y*200/2) element 52768 for y=200 instead of 20000, b(1,q ASL 4) 24 instead of 16 for q=1.5). ja(1,vq AND 1.5) is refused with “Illegal Operator for Type” also without the checking.#1179
1CompilerCompilerThe result of a comparison as the right operand of an operator is converted to the left operand’s type, so a Long keeps its high word and a Quick or Float its fraction; the original converted the left operand down to Word (If $10000 AND (a=b) false, If q OR (a<>b) false for q=0.5, lb+(a=b) -31073 for lb=100000). rf=fh AND (a=b) with a Float fh is refused with “Illegal Operator for Type”.#1182
1CompilerIf, While, Until
Compiler
A Float condition (If f, While f*g, Until Abs(f)) tests its own value; the original tested what an earlier statement had left in a register, so If f could be false for f=1.5, While z could run without end for z=0, and a condition’s result depended on the commands before it. Comparisons such as If f<>0 are unchanged.#1187
1CompilerCompilerA constant with a fraction keeps it when the type so far is Byte (a Byte destination, parameter, field or array element), as under a Word; the original cut it to a whole number before the operation (rb.b=(1.5*vb) 2 instead of 3 for vb=2, cprotect.b=swordhit*.8 computed swordhit*0). 2.0 and Data.b 1.5 keep the original’s results; rb=1.5 AND vb is refused with “Illegal Operator for Type”.#1188
1Numbers & dates^
mathtranslib
A negative base with a whole odd exponent gives a negative power ((-2)^3 -8, (-2.5)^3 -15.62499); the original dropped the sign (8, 15.62499). With a fraction in the exponent a negative base gives the power of its absolute value, as in the original.#1189
1CompilerPutReg
Compiler
PutReg into a local variable of a procedure stores the register into the local; the original left the local unchanged and overwrote 1 to 4 bytes next to the global variables. A program that reads the local afterwards takes another way, for example GMODPLAY on the CD reports a failed module init, which the original always reported as success.#1202
2SystemPrint, NPrint, Edit$, Edit
rundebuglib
Ctrl-C ends an executable compiled with runtime error checking at its next Print, NPrint, Edit$ or Edit on the console, with ***Break and the return code 20 as a C program; the original could not be stopped. A loop without console input or output still runs on.#43
2InputClickButton
brexxlib
ClickButton releases the button it pressed; the original released the left button after ClickButton 1 and recorded the right one released for ClickButton 0 under TapeTrap.#97
2InputRelMouse
brexxlib
RelMouse makes a relative mouse event (RAWMOUSE); the original made a pointer position event, which put another kind of event onto tapes.#98
2InputXStatus
brexxlib
XStatus returns 0, 1 or 2; the original returned 32768 more right after Record, PlayBack or an executed simulated event.#103
2SoundPlayModule
trackerlib
After a pattern break or position jump in the last song position, the song starts again at its restart position; the original played on into the unused positions behind the end.#292
2InputBlitzKeys
blitzkeyslib
BlitzKeys Off gives the keyboard input back to the input used before BlitzKeys On; the original left it in place, and a second BlitzKeys On made reading a line hang.#408
2GraphicsBPredatorBlit
bb_blitlib
BPredatorBlit finds the line below with the width of the bitmap it draws on; the original used the width of SetupMapTwo and showed another part of the background on a bitmap of another width.#426
2SoundCheckTrackerEvent
ciatrklib
CheckTrackerEvent returns 0 (False) when no new tracker event has come; the original returned the last event’s value with undefined upper bytes, so If CheckTrackerEvent was almost always true.#431
2SoundGetTrackerEvent, CheckTrackerEvent, WaitTrackerEvent
ciatrklib
The tracker event 8xx comes on its row’s first tick; with the original it came one tick later, and never at speed 1, where WaitTrackerEvent waited for ever.#435
2SoundStartTracker
ciatrklib
Samples without a loop end in silence, as in Protracker; with the original they ended in a buzz or a click, because StartTracker never cleared their first bytes.#438
2SoundModulePatterns
ciatrklib
ModulePatterns returns the number of patterns of the module, as documented; the original returned the song length.#445
2SoundModulePositionJump
ciatrklib
ModulePositionJump n goes on at song position n; the original went on at n+1.#447
2SoundStartTracker
ciatrklib
In CIA mode, the default, a module plays on every Amiga; the original crashed on a 68000 at the program’s start and stayed silent on an A1200 with Zorro III fast memory.#450
2SoundTrackerVolume
ciatrklib
TrackerVolume 0 and 64 also change the notes that are playing; with the original a fade-out to 0 stayed audible.#452
2Windows & screensRTEZFlagsRequest
neilsreqtoolslib
RTEZFlagsRequest shows the title it is given; the original always showed reqtools’ default title.#455
2FilesRTEZFreePattern
neilsreqtoolslib
RTEZFreePattern 3 removes the pattern gadget that RTEZSetPattern 3 added to the multi-load requester; the original did this for 2 and nothing for 3.#456
2Soundciatrklib, ritrackerlibA sample offset (9xx) on a sample of 64 KB or more plays the sample from the offset; the original played only 2 bytes of it.#472
2Soundciatrklib, ritrackerlibA note with a sample offset (9xx) applies the offset once; the original moved the voice’s start twice, so a retrigger, a note delay or a following note without a sample started at double the offset.#473
2Soundciatrklib, ritrackerlibAn arpeggio (0xy) on one of the highest notes plays at most the highest note of the period table; the original could play a much lower note or a value from the player’s data.#474
2Soundciatrklib, ritrackerlibAfter a stop (F00) on voice 1, 2 or 3 the voices after it read the notes of the row; the original read them from the custom chip registers and went on playing random samples.#475
2Soundciatrklib, ritrackerlibThe first portamento up or down (1xx, 2xx) slides from the start; with the original, the first one before any fine portamento did not slide on its first tick.#478
2Soundciatrklib, ritrackerlibA sample whose loop starts at 64 KB or later loops from its loop start; the original looped from a place 64 KB too early.#479
2Soundciatrklib, ritrackerlibA tremolo with the ramp-down waveform follows the position of the tremolo itself; the original took its shape from the position of the voice’s vibrato.#482
2SoundTrackerChannels
ritrackerlib
A voice left out by TrackerChannels stays silent and free; the original still wrote the module’s effects and sample loops to it, so it could become audible again.#567
2SoundTrackerChannels
ritrackerlib
With a voice left out by TrackerChannels, the other voices play their own notes; with the original, each voice after a left-out one played the notes of the voice before it.#568
2SoundTrackPlay
ritrackerlib
The commands F80 to FFF are tempo commands, as in Protracker; the original took them as speeds of 128 to 255 ticks per row, so the module nearly stopped.#569
2SoundTracker
ritrackerlib
Tracker On after Tracker Off continues the module; the original left it stopped until TrackInit or TrackerPause 0.#572
2SoundTrackInit, Tracker
ritrackerlib
TrackInit while the player is switched off prepares the module, so Tracker On plays it; the original played the module of before, or memory from address 0.#573
2SoundOpenCD
ricompactdisclib
OpenCD no longer keeps the SCSI flag of an earlier call, and without arguments opens unit 0 of cd.device as documented.#577
2SoundCDTrackLength
ricompactdisclib
CDTrackLength 1 is the length of track 1; the original counted the gap before it, normally 2 seconds.#584
2GraphicsDoColSplit
ricopperfxlib
A colour split of DoColSplit from line 0 starts at line 0; the original first waited for line 256, so the split appeared there or not at all.#588
2SystemDisAssemble$
ridisasmlib
DisAssemble$ returns long 68020 instructions whole instead of cut after 34 columns; shorter lines are still padded to 34. The original’s longest lines also overwrote the library’s variables.#616
2SystemGetSerial
rifastseriallib
GetSerial address,bytes returns -1 when it received the block; the original returned the low byte of its address.#649
2SystemInitSerialIO
rifastseriallib
InitSerialIO returns -1 when it set the port up and 0 when it did nothing; the original returned its baud argument.#650
2GraphicsFNSPrint, FNSShadowPrint, FNSLength, InstallFNS
rifnslib
A character the font has no glyph for is printed and measured as a space, and InstallFNS takes the number of characters as a third argument; the original ended the text at accented letters and drew others from memory.#657
2GraphicsFNSLength
rifnslib
FNSLength without prefs uses the style set with FNSPrefs, as the manual says; the original used the one of the last FNSPrint.#661
2GraphicsFNSLength
rifnslib
FNSLength returns the width of the text as FNSPrint draws it; the original returned 2 less.#662
2GraphicsClearBitmap
rifxlib
ClearBitmap clears the whole area; the original left its last word and cleared the word in front of it.#668
2StringsExtractLabel
rilesdebuglib
A space ends the label of ExtractLabel, as the library’s source says; in the original the label ran on over spaces to the : or the end of the line.#704
2GraphicsFInverse, FPrintDetoke
rilesdebuglib
FInverse 1 inverts the text of FPrintDetoke too, and its cursor marker no longer switches inverse printing off; the original looked only at the upper byte of the setting there.#706
2SystemGetCustomRegAdr
rilesdebuglib
GetCustomRegAdr finds a register only by its whole name, also one of 8 characters; the original matched a longer name such as DMACONXYZ to a shorter register and never found DENISEID.#713
2FilesLoadIFF
ripacklib
LoadIFF works with riamosfunclib’s default of 50 banks; the original needed BankLimit above 51 and returned 0 without it.#770
2GraphicsLoadIFF
ripacklib
LoadIFF returns 0 when the picture cannot be unpacked into the bitmap or, with a palette, has no CMAP; the original returned -1.#771
2GraphicsUnpackIFF, ILBMGrab, LoadIFF
ripacklib
UnpackIFF reads pictures whose width is no multiple of 16 correctly; the original ignored the padding of the rows and garbled them.#775
2FilesReqFileRequest, ReqFlags
rireqlib
Without ReqFlags, the file requester has caching, the info gadget and cache purge, as the library means; the original’s had extended select and showed .info files.#787
2SystemSerialSendBlock, SerialReceiveBlock, SerialFlush
riseriallib
SerialSendBlock, SerialReceiveBlock and SerialFlush open the port when it is closed, and it stays open; the original never opened it.#792
2SystemSerialReceiveBlock
riseriallib
SerialReceiveBlock keeps the bytes received before the call; call SerialFlush first for an empty buffer.#798
2SystemDiskMotor
ritrackdisklib
DiskMotor returns -1 when the library has switched the motor on and 0 when it is off; the original returned -1 at all times.#857
2InputSetZone, Zone, ZoneTest
rizonejoylib
Only a bottom edge of -1 marks a circular zone, and SetZone refuses a rectangle that ends at -1; the original’s 68020 mode tested every rectangle above the top of the screen as a circle.#866
2InputSetZone
rizonejoylib
SetZone refuses a circle’s radius outside 0 to 255 and returns 0; the original stored a much smaller circle for a radius of 256 or more.#867
2InputNewZoneTable
rizonejoylib
NewZoneTable clears the zones of the new table and leaves the current table alone; the original cleared the current table and left the new one uncleared.#875
2InputZone, ZoneTest
rizonejoylib
In the 68020 mode, the default on a 68020, circular zones hit only the points inside them, also with a radius of 182 or more; the original hit points far outside and missed points inside large circles.#880
2GraphicsGetWBSprite, ChangeWBSprite
riwbspritelib
A sprite of a shape whose width is no multiple of 16 shows the shape’s left part unsheared; the original’s image was sheared.#918
2GraphicsGetWBSprite
riwbspritelib
GetWBSprite returns -1 whenever it gets no sprite; the original returned 0, -1 or even the channel of an older sprite.#920
2GraphicsMoveWBSprite
riwbspritelib
MoveWBSprite returns -1 when it moved the sprite and 0 without one; the original returned a random value.#921
2GraphicsCustomColors
displaylib
CustomColors with a thru256flag of 0 acts as if the flag were left out; the original treated 0 as 1.#951
2SoundCDVolume
ricompactdisclib
CDVolume gives the device the volume and the fade time the right way round; the original swapped them.#982
2FilesFNSLoad, FNSUnload
rifnslib
FNSLoad works without BankLimit: it takes a free bank below the limit; the original wrote the font to the memory address 55 plus the slot and returned -1.#984
2SoundFilter
audiolib
Filter On switches the audio low-pass filter on and Filter Off switches it off, as the manual says; the original did the opposite.#985
2SoundPlayMed
medlib
In a MED module with more than 8 tracks, tracks 8 to 11 are ignored like the other tracks behind track 3; the original ran their commands, and 03 and FFD wrote into the player’s data of other tracks.#1067
2SoundPauseModule
ciatrklib
PauseModule pauses only a module that plays and continues only the one it paused; StartTracker, StopTracker, ChangeTrackerVBlank and freeing the module end the pause. The original’s next PauseModule played a restarted, stopped or freed module, and two calls continued a stopped one.#1076
2Windows & screensRTEZGetLongRange
neilsreqtoolslib
RTEZGetLongRange without a default starts at 0; the original started at the number of the call before.#1078
2SystemRXDeletePort
riarexxlib
RXDeletePort and the end of the program wait up to 5 seconds for the replies to commands sent with RXRunCommand or RXRunScript; the original deleted the port at once, and a late reply was written into freed memory.#1095
2GraphicsFNSClip, FNSClipOutput
rifnslib
The ymax of FNSClip is the first row outside the zone, like xmax; with the manual’s FNSClip 0,0,320,256 the original drew a row behind the bitmap.#1128
3SystemGetRexxResult, GetRexxCommand
arexxlib
With runtime error checking, a number out of range stops GetRexxResult (“Illegal Result Number”) and GetRexxCommand (“Illegal Argument Number”); the original read the neighbouring fields.#51
3Data structuresDim
arrayslib
A Dim of 4 GB or more stops with “Out of Memory!”, also without runtime error checking (with it “Array Size out of Range”); the original made an array of a few bytes.#58
3GraphicsBBlit
bblitlib
Bitmaps and shapes of depth 0, which made BBlit run over 65536 planes in the original, stop at their creation with runtime error checking (“Illegal BitMap Depth”).#74
3GraphicsBitMap, CludgeBitMap, CopyBitMap
bitmaplib
A BitMap or CludgeBitMap of width or height 0 stops with runtime error checking (“Illegal BitMap Size”); the original accepted it and CopyBitMap overwrote memory.#78
3Gadgets & menusSelectBox
blitzoslib
With runtime error checking, SelectBox with a box the page does not have stops with “Illegal Box# For Page”; the original selected and drew memory behind the table.#82
3Gadgets & menusSpotBox
blitzoslib
With runtime error checking, SpotBox on a page not set up or without boxes stops with “UnInitialised Page”; the original searched 65536 boxes of foreign memory.#83
3GraphicsSColl
collslib
SColl tests its two channels in either order, and with runtime error checking two channels of one pair stop with “different pairs”; the original tested other channels.#110
3Gadgets & menusStringGadget
gadgetslib
With runtime error checking, StringGadget with a Maxlen of 0 stops with “Maxlen MUST be greater than zero”; the original cleared 64 KB of memory and crashed.#165
3Gadgets & menusShapeGadget, InitShape
gadgetslib, shapeslib
With runtime error checking, InitShape refuses a depth of 0 (“Illegal Shape Depth”), so no ShapeGadget of such a shape exists; the original gave it a broken image.#167
3GraphicsSaveBitmap, SaveShape
iffmakelib
SaveBitmap and SaveShape with a palette of 0 colours stop with runtime error checking (“Uninitialized Palette”); the original wrote 65536 colours over memory.#182
3GraphicsLoadBitMap, LoadScreen
bitmaplib, screenslib
LoadBitMap and LoadScreen of a missing file stop with “Can’t Open File”, also without runtime error checking; the original showed an old picture or garbage.#187
3Numbers & datesldivlibWith runtime error checking, a Long or Quick division by 0 stops with “Division by Zero”; without it, the result has the dividend’s sign, where the original always returned 2147483647.#200
3SoundJumpMed
medlib
With runtime error checking, JumpMed without a playing module is “No Module Playing”; the original wrote into an exception vector.#210
3StringsPeeks$
memacclib
Peeks$ with a negative length returns the empty string and with checking stops (“Can’t Peeks$ a negative number”); the original copied up to 4 GB and crashed.#214
3GraphicsInitShape, QBlit
shapeslib, qblitlib
InitShape with depth 0 stops with runtime error checking (“Illegal Shape Depth”); the original made a shape that QBlit blitted as 65536 planes.#243
3GraphicsLoadShape, SaveShapes, LoadShapes, DecodeShapes, CopyShape
shapeslib
Shapes of 64 KB or more are saved, loaded and copied whole, and a picture with a 64 KB plane stops with “Can’t Read/Write Shapes File”, also without runtime error checking; the original overwrote memory.#263
3GraphicsSpriteMode
spriteslib
With runtime error checking, SpriteMode above 2 stops with “Illegal SpriteMode”; the original read the sprite width from behind its table.#281
3StringsInstr
stringfunclib
Instr with a start position below 1 searches from the first character and is “Instr Startpos MUST be greater than zero” with checking; the original compared bytes before the string.#287
3StringsCvi, Cvl, Cvq
stringfunclib
Cvi, Cvl and Cvq of a short string count missing bytes as 0 and with checking stop (“Cvi needs a String”); the original read bytes behind the string.#288
3SystemCreateMsgPort
utillib
CreateMsgPort without a free signal stops with “Failed to allocate signal”, also without runtime error checking; the original made a port that never woke the program.#298
3Windows & screensWSize, WMove
windowslib
WSize and WMove return when Intuition limits the size or position, and a size beyond the window’s limits is “Can’t Size Window” with checking; the original hung.#320
3GraphicsSaveShape
iffmakelib
SaveShape of a shape of depth 0 or more than 14 stops with “Illegal Shape Depth”, also without runtime error checking; the original overwrote the library’s memory.#326
3GraphicsFadeIn, FadeOut
fadelib
With runtime error checking, FadeIn and FadeOut of a palette never made report “Uninitialized Palette”; the original reported “Not enough colours in Slice”.#330
3GraphicsFadeIn, FadeOut
fadelib
With runtime error checking, FadeIn and FadeOut with a colour beyond the slice’s colours report “Not enough colours in Slice”; the original reported “Uninitialized Slice”.#331
3GraphicsCludgeBitMap, Plot, Polyf, BitMapPoly
bitmaplib, scrolllib, 2dlib, polylib
CludgeBitMap with depth 0 or above 8 stops with runtime error checking (“Illegal BitMap Depth”); the original made a bitmap the drawing commands treated as 65536 planes.#393
3GraphicsPolyf, BitMapPoly, ChunkyPoly, RenderPoly
2dlib, polylib
The polygon commands draw sides of 11 to 15 edges right, and more than 16 points stop with runtime error checking (“Too Many Points”); the original crashed.#395
3GraphicsPoly
2dlib
Poly with fewer than 2 points stops with runtime error checking (“Poly needs at least 2 Points”); the original drew 65535 lines from memory.#396
3GraphicsDisplaySprite, CustomSprites
displaylib
DisplaySprite of a sprite running into the CustomSprites channels stops with “Not Enough Sprite Channels”, also without runtime error checking; the original overwrote copper instructions.#414
3GraphicsChunkyVlin
polylib
ChunkyVlin without CLIP and y1 above y2 stops with runtime error checking (“y1 MUST NOT be greater”); the original wrote about 65536 words.#417
3GraphicsRenderPoly, RenderToChunky
polylib
RenderPoly after RenderToChunky with a colour above 14 stops with runtime error checking (“Illegal Colour”); the original read the colour from memory behind its table.#422
3GraphicsCreateShape
bb_blitlib
With runtime error checking, CreateShape with a count of 0 stops with “CreateShape count must be at least 1!”; the original made 65536 shapes over the memory behind the shape table.#428
3GraphicsSpecialBlock, SpecialBlockBitmap, TBlock, PredatorBlit, BPredatorBlit, BColourBlit, SpecialBlockToShape
bb_blitlib
With runtime error checking, the blits of bb_blitlib stop with “Uninitialized Shape” for a shape never defined; the original blitted 65536 planes over memory all over the system.#429
3SoundFreeTrackerModule
ciatrklib
With runtime error checking, FreeTrackerModule of the module that plays is the runtime error “Tracker: Stop the module before freeing it.”; the original freed it and went on playing the freed memory.#436
3GraphicsRIAnimInit
rianimlib
With runtime error checking, RIAnimInit’s x,y outside the bitmap stops with “Animation position outside the bitmap”; the original drew outside it.#514
3InputSetHotKey
ricommoditieslib
With runtime error checking, SetHotKey with a number outside 0 to 15 stops with “Hotkey number must be 0 to 15”; the original overwrote the library’s data.#564
3SoundOpenCD
ricompactdisclib
With runtime error checking a second OpenCD stops with “CD device already open”; the original lost the device opened first.#578
3SoundCDTrackLength
ricompactdisclib
CDTrackLength of the last track is right, and with runtime error checking a track the CD lacks stops with “Track number out of range”.#583
3SoundCDTrackMins, CDTrackSecs
ricompactdisclib
With runtime error checking an offset other than 0 or 1 stops with “Offset must be 0 or 1”; the original read other memory.#586
3GraphicsDoColSplit, RedoColSplit
ricopperfxlib
With runtime error checking, fewer than one line stops with “Colour split needs at least one line”; the original divided by zero or wrote up to 65536 lines.#589
3FilesAddNotify, RemNotify
ridoslib
With runtime error checking, AddNotify and RemNotify stop with a runtime error for a notify slot out of range; the original wrote around its table.#626
3GraphicsFNSClip
rifnslib
With runtime error checking, a clip zone that starts below 0 stops with “FNSClip zone must not start below 0”; the original wrote text about 64 KB away.#664
3GraphicsFNSSetTab
rifnslib
With runtime error checking, FNSSetTab with a size below 1 stops with “FNSSetTab size must be at least 1”; in the original a tab character then divided by zero.#666
3GraphicsClearBitmap, FadeInBitmap
rifxlib
With runtime error checking, a delay of 0 stops with “Delay must not be 0”; the original waited 4294967296 turns per line.#669
3GraphicsClearBitmap, FadeInBitmap, ZoomX2, ZoomX4, ZoomX8, ReduceX2, ZoomyZoom, Derez, ZoomXY
rifxlib
With runtime error checking, a bitmap of more than 8 planes stops with “Illegal BitMap Depth”; the original wrote past its plane tables.#674
3GraphicsZoomyZoom
rifxlib
With runtime error checking, ZoomyZoom on a bitmap smaller than 640 x 32 stops with a runtime error; the original garbled it or wrote behind it.#676
3GraphicsPalRed, PalGreen, PalBlue, AGAPalRed, AGAPalGreen, AGAPalBlue, PalAdjust
rigfxlib
With runtime error checking, a colour number the palette does not have stops with “Colour number outside the PaletteInfo palette”; the original read or wrote memory beside the palette.#677
3GraphicsCPUCls
rigfxlib
CPUCls reads the depth alone, and with runtime error checking stops with “Illegal BitMap Depth” for 0 or more than 8; the original cleared hundreds of planes.#679
3GraphicsPalAdjust
rigfxlib
With runtime error checking, PalAdjust with the end colour below the start stops with “PalAdjust end colour before the start colour”; the original wrote 256 KB behind the palette.#684
3GraphicsPalAdjust
rigfxlib
With runtime error checking, PalAdjust into a target too small stops with “PalAdjust colours outside the target palette”; the original wrote behind the target’s colours.#685
3GraphicsPalRed, PalGreen, PalBlue, AGAPalRed, AGAPalGreen, AGAPalBlue, PalAdjust
rigfxlib
With runtime error checking, the colour functions and PalAdjust before PaletteInfo stop with “No palette selected with PaletteInfo”; the original read address 0.#686
3StringsAddProcessPtr
rilesdebuglib
AddProcessPtr keeps at most 20 codes and ignores more; with runtime error checking a 21st stops with “AddProcessPtr table holds at most 20 entries”. The original wrote the 21st over the code behind its table.#700
3GraphicsFPrint, FNPrint, FPrintDetoke
rilesdebuglib
The font printer prints nothing from column 80 on; with runtime error checking a bitmap narrower than 640 pixels or a cursor row outside it stops with “Font printer needs a bitmap of 640 pixels” or “Font printer row outside the bitmap”. The original printed the columns 208 to 255 into the next rows and never checked the bitmap.#707
3Data structuresrilinkedlistlibWith runtime error checking, the list commands stop with a runtime error for a list number out of range; the original wrote into the other lists.#732
3Windows & screensEZRequest, EZRequestArgs
rimisclib
With runtime error checking, too many arguments stop with “Too Many EZRequest Arguments”; the original wrote them over the library’s code.#748
3GraphicsRaycastSky
richunkylib
With runtime error checking, RaycastSky outside the chunky bitmap stops with “RaycastSky outside the chunky bitmap”, and a height below 1 copies nothing; the original wrote outside, for a height of 0 about 20 MB.#887
3GraphicsMapCanDraw, MapDataGrab
rimapeditorlib
With runtime error checking, MapCanDraw without SetStencil, with a cell value of 32768 or more or on a map without data stops with “MapCanDraw needs SetStencil” or a similar error; the original read low memory.#893
3GraphicsFillBitplane, ShapeTo1616, MapDataGrab
rimapeditorlib
With runtime error checking, FillBitplane and ShapeTo1616 with a size of 0 stop with “FillBitplane width must be at least 16” or a similar error, and MapDataGrab fills nothing into a map without data; the original wrote 65536 rows or words over memory.#895
3GraphicsShapeTo1616
rimapeditorlib
With runtime error checking, ShapeTo1616 into a destination that is not 16 x 16 with the source’s depth stops with “ShapeTo1616 needs a 16 x 16 destination as deep as the source”; the original overran it.#900
3GraphicsShapeToMapShape
rimapshapeslib
With runtime error checking, ShapeToMapShape of a shape of depth 0 or more than 8 stops with “Illegal Shape Depth”; the original overwrote memory.#903
3GraphicsAddGroupMember
rimapshapeslib
A group holds at most 63 members, so a group of 64 blits one less; with runtime error checking a 64th stops with “Group holds at most 63 members”; the original wrote behind the group.#904
3GraphicsSetNumMapShapes, ShapeToMapShape, BlitMapShape, BlitMapShapeSize, MapShapeAddr, FreeMapShapes
rimapshapeslib
Without map shapes the map shape commands do nothing, and with runtime error checking a number beyond SetNumMapShapes stops with “Map shape not allocated by SetNumMapShapes”; the original used map shapes at address 0 or behind its memory.#906
3GraphicsInitSnowDrop, LDoSnow, LDoSnowActivate, KillPoint
risnowlib
With runtime error checking, a snow field number outside 0 to 3 stops with “Snow list number must be 0 to 3”, as do a field without InitSnowDrop and KillPoint outside the bitmap; the original wrote outside its table.#913
3GraphicsGetWBSprite, FreeWBSprite, MoveWBSprite, ChangeWBSprite, WBSpriteX, WBSpriteY
riwbspritelib
With runtime error checking a channel outside 0 to 7 stops with “Sprite channel must be 0 to 7”; the original read and freed the library’s own data as sprites.#916
3GraphicsGetWBSprite, ChangeWBSprite
riwbspritelib
With runtime error checking a shape of height or depth 0 stops with “Illegal Shape Height” or “Illegal Shape Depth”; the original would copy 65536 rows or planes.#917
3GraphicsWBSpriteX, WBSpriteY
riwbspritelib
With runtime error checking WBSpriteX and WBSpriteY of a channel without a sprite stop with “No sprite on this channel”; the original returned words from low memory.#922
3GraphicsClearBitmap, FadeInBitmap, ZoomX2, ZoomX4, ZoomX8, ReduceX2, ZoomyZoom, Derez, ZoomXY
rifxlib
With runtime error checking, a bitmap of depth 0 stops with “Illegal BitMap Depth”; the original ran 65536 or 256 planes over memory.#947
3Windows & screensWindowTags
windowslib
With runtime error checking, WindowTags with more than 15 tag pairs stops with “Too Many Tags”; the original wrote over data and code of the library.#961
3GraphicsGetaSprite, ShowSprite, SpriteMode
spriteslib
With runtime error checking, GetaSprite allows 4 colour shapes 8 sprites wide and 16 colour shapes 4, else “Sprite too Wide”; the original had the limits swapped.#988
3InputInkey$
editlib
Inkey$ with a negative count stops with checking (“Can’t Inkey$ a negative number”); the original tried about 4 billion reads and overwrote memory behind the string buffer.#1031
3Data structuresDim, Dim List
arrayslib
With runtime error checking, Dim a(65535) and Dim List a(65535) stop with “Array Dimension out of Range”; the original made an empty array whose accesses lay outside its memory.#1037
3Windows & screensScreenTags
screenslib
With runtime error checking, ScreenTags with more than 15 tag pairs stops with “Too Many Tags”; the original wrote over code of the libraries.#1039
3SystemDeleteMsgPort
utillib
DeleteMsgPort of a port not made by CreateMsgPort stops with runtime error checking (“Port Not Created By CreateMsgPort”); the original freed it and corrupted memory.#1041
3Gadgets & menusInitPage
blitzoslib
With runtime error checking, InitPage with 32768 boxes or more stops with “Illegal Number of Boxes”; the original took the number as negative and ran out of memory.#1043
3GraphicsInitShape, GetaShape, Rotate, Scale
shapeslib, shapetrixlib
With runtime error checking, a shape too large for its size fields stops with “Shape too Big”, and InitShape of size 0 with “Illegal Shape Size”; the original overwrote memory.#1047
3GraphicsCreateShape
bb_blitlib
With runtime error checking, CreateShape stops with “CreateShape start+count above Maximum Shapes!” when its shapes would run past the shape table; the original wrote them over the memory behind it.#1077
3Gadgets & menusGTFreeMenu
rigtmenulib
With runtime error checking, GTFreeMenu with a negative item number stops with “Illegal Menu Item number”; the original freed the title as an item and damaged memory.#1089
3SystemAddAppWindow, DelAppWindow, AddAppMenu, DelAppMenu, AddAppIcon, DelAppIcon
riapplib
With runtime error checking, an App id or window number outside 0 to 15 stops with “App id must be 0 to 15” or “App window number must be 0 to 15”; the original overwrote memory.#1097
3Data structuresBBShadowValue
ribbmaplib
With runtime error checking, a shadow set the scenario does not have stops with “Shadow set must lie in the SHDW chunk”; the original read behind the chunk.#1114
3GraphicsRINextAnimFrame, RIAnimInit
rianimlib
With runtime error checking, an ANIM7 frame at an odd byte position of RIAnimInit stops with “Animation position on an odd byte for ANIM7”; the original crashed with a Software Failure on a 68000.#1122
3GraphicsZoomXY
rifxlib
With runtime error checking, ZoomXY before any InitZoomXY stops with “ZoomXY needs InitZoomXY”; the original zoomed a bitmap at address 0 and crashed.#1131
3GraphicsCreateMap
rimapeditorlib
With runtime error checking, CreateMap with a width above 32767 stops with “Map width above 32767”; the original allocated too little, and MapDataGrab wrote behind it.#1152
3SystemVWait
intlib
VWait 0 (also a variable count of 0) is “Can’t VWait 0 Frames!” with checking; the original waited 65536 frames (about 22 minutes).#1201
4CompilerCompilerA constant definition without a name, #=5, is “Syntax Error”; the original accepted it.#7
4CompilerIncDir
Compiler
An IncDir path of 96 characters or more is “Path too Long”; the original overwrote the compiler’s data and the program crashed.#16
4CompilerIncDir, Include, XInclude, IncBin
Compiler
A quoted path of IncDir, Include, XInclude or IncBin ends at its closing quote, other text after it is “Syntax Error”; the original took the whole line.#17
4CompilerMacro
Compiler
A name of more than 127 characters, possible through a macro, is “Syntax Error”; the original overwrote the compiler’s data.#29
4CompilerGoto, Gosub, Restore
Compiler
A #, Goto, Gosub, Restore, ? or . without a name is “Syntax Error”; the original searched 65536 bytes of memory for an empty name.#30
4CompilerUsePath
Compiler
A UsePath path of 128 characters or more is “Path too Long”; the original overwrote the compiler’s own code.#31
4CompilerDcb
Compiler
Dcb with a count of 0 emits nothing and a negative count is “Illegal Constant”; the original made about four thousand million copies.#37
4CompilerFor
Compiler
For with a global string variable is “Bad Type for For…Next”; the original compiled it and treated the string as a number.#39
4CompilerInclude, XInclude, IncBin, IncDir
Compiler
An include file name that is more than 127 characters with the IncDir path is “Path too Long”; the original overwrote the compiler’s data.#325
4CompilerMacro
Compiler
The Macro Buffer option sets the largest macro text, a longer one is “Macro too Big”; the original ignored the option and could crash when ending.#336
4CompilerEnd Statement, End Function, Statement Return, Function Return
Compiler
Ending or leaving a procedure with the statement of the other kind is “Illegal End Procedure”; the original compiled it and the program crashed.#940
4CompilerMacro
Compiler
A macro text of 65536 bytes or more is “Macro too Big”; the original cut it and lost part of its memory until a reboot.#964
4CompilerNEWTYPE
Compiler
A NewType field of the type being defined is “Illegal Type”, a pointer to it stays allowed; the original gave the field a random size.#973
4CompilerNEWTYPE, SizeOf
Compiler
A NewType field of a type defined later gets that type’s size, and using it too early is “Type not yet defined”; the original gave a wrong size.#974
4CompilerCompilerAn inline assembler operand too long for its buffer is “Operand too Long”; the original cut it into wrong code or overwrote the compiler’s data.#997
4EditorTED, literallibAccented Latin-1 letters such as ß or é compile in strings and comments, elsewhere they are “Syntax Error”; the original editor lost them.#1018
4CompilerMod
Compiler
A division or Mod by a constant 0 is the compile error “Division by Zero”; the original crashed the compiler or compiled the largest Long number.#1044
4CompilerNEWTYPE
Compiler
An array field of a NewType with 65536 or more elements, or a negative count, is “Type too Big”; the original gave it the size of the count modulo 65536, and programs wrote past it.#1084
4CompilerCompilerAn operator whose right operand needs a ninth register, such as a+b*c as the 7th or a later argument of a statement or function, is the compile error “Expression too Complex” (write b*c+a or a+(b*c)); the original computed a wrong value or crashed the program or the compiler.#1185
5CompilerCompilerAn inline assembler expression of 240 characters or more in a macro or include is freed correctly; the original freed it with a wrong size.#1
5CompilerCompilerA library file that cannot be read completely is left out; the original ignored the read error and used whatever was in its buffer.#3
5SystemrundebuglibAn executable with runtime error checking shows the texts “End of Program”, “No currently used object!” and “Offset out of range”; the original showed an empty requester.#6
5CompilerCompilerWithout chip memory for the options requester’s arrows, blitz2 gives up at the start with return code -1; the original wrote to and freed address 0.#8
5CompilerCompilerA number ending in a decimal point, such as 1., compiles as a number; the original reported a syntax error.#10
5CompilerCompilerAn exponent after a fraction of 0, as in 1.0e5, is applied; the original ignored it and gave 1.#11
5CompilerCompilerA number without a fraction in a Quick calculation, such as q=1.0, is a Quick constant; the original converted a float at run time (same value, longer code).#13
5CompilerSelect
Compiler
A full object buffer during an assignment or Select loses no memory; the original lost a little.#14
5CompilerDim
Compiler
Arrays with 256-byte elements have their elements 256 bytes apart; the original put them 65536 bytes apart and overwrote memory.#15
5CompilerCompilerStarted from the Workbench, blitz2 closes a short or damaged icon file after reading; the original kept it in use until the reboot.#19
5CompilerCompilerStarted from the Workbench without a project icon, the editor starts with no program; the original could ask it to load its own icon as a program.#20
5CompilerCompilerStarted from the Workbench, blitz2 goes back to its start directory when it ends, through the startup code of the port’s C library (libnix); the original did not.#21
5CompilerCompilerblitz2 returns -1 to the shell when it cannot start and 0 after a normal session; the original always returned 0.#22
5CompilerLOAD DEBUG MODULE
Compiler
LOAD DEBUG MODULE resets the busy pointer also when no debugger module was loaded before; the original left the busy pointer on.#23
5CompilerRUN, COMPILE AND RUN
Compiler
When RUN or COMPILE AND RUN cannot start the program for lack of memory, the EXECUTING requester closes; the original left it open.#25
5CompilerCompilerWith 256 MB or more free memory, blitz2 frees its memory test request at once; the original lost 256 MB when it ended.#26
5CompilerCompilerWhen blitz2 cannot examine blitz2:deflibs or blitz2:acidlibs, the file counts as missing; the original loaded it with the previous file’s length.#27
5CompilerCompilerA directory in blitz2:userlibs with a name of 32 characters or more is skipped; the original overwrote memory.#28
5CompilerINCREASE 150% - RECOMPILE
Compiler
When the larger buffers of INCREASE 150% - RECOMPILE cannot be allocated, the compile ends with the out of memory notice; the original’s code compiled again with the old sizes and showed the same requester again and again, a case the original itself never reached.#32
5CompilerCompilerThe constant list of a resident ends inside the resident; the original’s last constant pointed behind it, and every compile freed foreign memory.#34
5CompilerNEWTYPE
Compiler
A resident with a NewType without fields loads everything defined behind it; the original lost those types, macros and constants.#35
5CompilerCompilerTwo residents defining the same constant differently give the warning “Clash in Residents” and use the first value; the original used it silently.#36
5CompilerIncBin
Compiler
IncBin releases its file or directory after an error; the original kept it in use.#38
5CompilerCompilerOn a 68010 with a moved vector table, runtime errors and the debugger use that table; the original took the trap vectors from the wrong one.#42
5SystemdeflibsA program that calls a function of an AmigaOS library the system lacks starts normally; the original hung at its start, even if it never made the call.#44
5SystemdeflibsA program that calls a resource, such as the battery clock or the CIA resources, opens it at its start; the original always hung there.#45
5CompilerPeekSound
Compiler
PeekSound inside a string expression leaves the sound object intact; the original overwrote it.#46
5SystemClearRexxMsg, FillRexxMsg
arexxlib
ClearRexxMsg and FillRexxMsg stop after the 16 argument slots; the original went on into the fields behind them.#49
5SystemFillRexxMsg, ClearRexxMsg
arexxlib
FillRexxMsg keeps a number 0 and the arguments behind it, and ClearRexxMsg clears all 16 slots; the original ended the list at a number 0.#50
5SystemGetRexxCommand, GetResultString
arexxlib
Text added after GetRexxCommand or GetResultString comes out whole; the original left a 0 byte in between and lost its last character.#52
5SystemGetResultString
arexxlib
GetResultString clears the result after freeing its string, so a second call gives the empty string; the original read and freed the freed memory again.#53
5SystemSendRexxCommand
arexxlib
SendRexxCommand with no ARexx running enables the interrupts again before its alert; the original left them disabled and the Amiga stopped responding.#55
5SystemarexxlibWithout rexxsyslib.library the ARexx message commands do nothing after their alert; the original worked on a message at address 0 and wrote into low memory.#56
5SystemCreateArgString
arexxlib
An ArgString of a string longer than 65535 characters holds its first 65535 characters; the original copied only the length modulo 65536.#57
5Data structuresDim List
arrayslib
Dim List with size 0 writes nothing behind its memory block; the original wrote 8 bytes past it.#59
5Windows & screensASLScreenRequest
asllib
ASLScreenRequest returns a copy of the chosen mode that stays valid until the next call; the original returned the freed requester.#60
5FilesASLPathRequest$
asllib
ASLPathRequest$ writes nothing to an address it was not given; the original wrote the file name there, such as to the value of x.#61
5FilesASLFileRequest$, ASLPathRequest$
asllib
ASLFileRequest$ and ASLPathRequest$ without asl.library return the empty string; the original returned a string as long as the title’s address.#62
5FilesASLFileRequest$, ASLPathRequest$
asllib
ASLFileRequest$ and ASLPathRequest$ free their copies of title and pattern after each request; the original kept them until the program ended.#63
5FilesASLPathRequest$
asllib
ASLPathRequest$ without position and size shows no pattern gadget; the original showed the pattern of an earlier ASLFileRequest$.#64
5SoundSetPeriod
audiolib
With runtime error checking, SetPeriod tests only that the sound is set up; the original stopped every period above 15 with “Illegal Chanel Mask”.#66
5FilesLoadSound, DiskPlay
audiolib
LoadSound and DiskPlay close the file before “Can’t Find VHDR”, “Error Reading File” and “Sound too long”; the original left it open and locked until reboot.#67
5SoundDecodeSound, LoadSound, InitSound
audiolib
A sound object reused after DecodeSound frees its next sample when reused or freed; the original kept the mark and never freed that sample.#68
5SoundDiskPlay
audiolib
DiskPlay returns after a sample whose length is a multiple of the DiskBuffer length, or 0; the original played its last buffer for ever.#69
5SystemSetPeriod
audiolib
Without runtime error checking, SetPeriod without a sound stops with its runtime error and the sound errors carry their text; the original jumped behind the library.#70
5FilesLoadBank
banklib
LoadBank of a drawer leaves the bank as it is, like a missing file; the original could turn it into a bank of size -1.#72
5GraphicsBitMap
bitmaplib
A bitmap whose height times depth is 65536 or more gets all its memory; the original allocated too little and its planes overlapped other memory.#76
5GraphicsShapesBitMap
bitmaplib
ShapesBitMap of a shape with planes of 32 KB or more puts the planes in order; the original placed them in front of the shape.#79
5GraphicsBitMap
bitmaplib
BitMap clears the plane pointers above its depth; the original left them pointing into freed memory of an earlier bitmap.#80
5Gadgets & menusBoxSelected
blitzoslib
On a page of more than 1024 boxes every box number reaches its own box and BoxSelected returns it; the original reached wrong memory or other boxes.#81
5Gadgets & menusAddBox
blitzoslib
AddBox of a string box 8 to 15 pixels wide writes no spaces behind its one-byte text; the original wrote 65536.#84
5Gadgets & menusBoxString
blitzoslib
BoxString of an answer of spaces only returns the empty string; the original trimmed past its start and could copy up to 64 KB.#85
5Gadgets & menusBoxPrint
blitzoslib
BoxPrint Box#,Bank#,Line leaves the bank unchanged; the original replaced the line feed of the printed line by a 0 in the bank.#87
5Gadgets & menusAddBox
blitzoslib
A box added again with AddBox without a text prints nothing; the original printed the memory from address 0 on.#89
5Gadgets & menusBlitzEvent
blitzoslib
Cursor up or down in BlitzEvent with no box selected does nothing; the original read low memory as a box and could write to it.#90
5Gadgets & menusBlitzEvent
blitzoslib
In a string box the cursor is drawn again after Backspace at the start and after control keys; the original left it off.#91
5Gadgets & menusDeSelectBox, BoxSelected
blitzoslib
DeSelectBox clears the selection and BoxSelected then returns -1; the original left the box selected.#94
5InputTapeTrap
brexxlib
TapeTrap without a tape number ends the redirection to a tape; the original went on trapping and chained the next events into the program’s string memory.#95
5InputPlayWait
brexxlib
PlayWait without a tape number waits until the running playback has finished, and PlayWait Tape# returns at once for an empty tape; the original refused the first form and hung in the second.#99
5InputPlayBack
brexxlib
PlayBack plays a recorded event in front of the first later input event; the original could play it behind input that came after it.#100
5InputLoadTape
brexxlib
LoadTape of a file shorter than the 8-byte start time leaves the tape empty; the original took the file’s bytes as the start time.#101
5InputType
brexxlib
Type skips a character that has no key; the original typed the key code $FFFF with the Shift key.#102
5InputPlayWait
brexxlib
Without a free signal PlayWait returns at once; the original waited for ever.#104
5FilesCrMDecrunch
crunchlib
CrMDecrunch of data with a packed length below 4 copies those bytes; the original overwrote the whole memory.#115
5FilesCrMDecrunch
crunchlib
CrMDecrunch stops at a corrupt table of CrM2 data; the original wrote behind its tables into the library.#117
5FilesPPDecrunch
crunchlib
PPDecrunch unpacks nothing when an efficiency value in the header is 0 or above 15; the original unpacked garbage around the destination.#118
5Numbers & datesDate$, Days, Months, Years
datelib
Date$ shows 1 January after a leap year correctly; the original showed it as 32 December of the leap year.#120
5Numbers & datesWeekDay
datelib
WeekDay is right for every date; the original was two days off for a few, such as 15 September 1973.#121
5Numbers & datesNumDays
datelib
NumDays("31/12/1977") returns -1 and day 65535 converts back right; the original returned 65535 and 131071.#122
5Numbers & datesNumDays
datelib
NumDays of a date with an empty field, such as "/5/1990", returns 0; the original took the empty field as 47.#123
5Numbers & datesNumDays
datelib
NumDays of a month outside 1 to 12 returns 0; the original returned a number from unrelated memory.#124
5Numbers & datesNumDays
datelib
NumDays reads a year of fewer than four digits up to the end of the string, so "1/1/78" is year 78; the original read past the string.#125
5SystemdebuglibWhen the debugger evaluates an expression such as a short string, it shows only its characters; the original showed the memory behind them, up to 256 characters.#126
5SystemdebuglibAfter a token, for example right after Print, the debugger marks the right column in the source; the original marked the end of the line.#127
5InputInkey$
editlib
Inkey$(0) returns the empty string; the original returned a string of random length.#128
5InputEdit
editlib
Edit shows the whole default value and Return gives it, so Edit(25,4) gives 25; the original overwrote its last character and gave 2.#129
5InputEdit$, Edit
editlib
Edit$ at the end of its input returns the empty string and Edit 0; the original returned a string of length -1.#132
5GraphicsFadeIn, FadeOut
fadelib
FadeIn and FadeOut of palette 2 or higher fade all colours evenly; with the original the red or green of the first colour ran ahead.#134
5GraphicsFadeIn, FadeOut
fadelib
With runtime error checking, FadeIn and FadeOut accept a palette whose colours lie in the lowest 64 KB of memory; the original took it as uninitialised.#135
5FilesOpenFile, ReadFile, WriteFile, Fields
fileiolib
Opening a file on a file number still open with Fields keeps the new name whole; the original cut it short, so a long name was not found.#138
5FilesCloseFile, Fields
fileiolib
CloseFile clears the record length and fields, so a later Fields starts a new record; the original kept them and added to the freed one.#140
5FilesEof, Loc, Lof
fileiolib
Loc and Lof stay correct after Eof at the end of a file; the original made both one too high.#144
5Numbers & datesfloatquicklibA Quick 0 assigned to a float gives 0; the original gave a negative zero.#146
5Numbers & datesfloatquicklibThe Quick -32768 assigned to a float keeps its minus sign; the original gave +32768.#147
5GraphicsBitMapOutput, Print
fontlib
Text on a bitmap draws umlauts and other characters 128 or more above the font’s first one; the original skipped them and left the cursor.#148
5GraphicsLoadBlitzFont
fontlib
LoadBlitzFont of a font that is not 8 by 8 closes the font before its error; the original left it open after the program.#150
5FilesFileRequest$
freqlib
After OK, FileRequest$ sets the lengths of the path and file name variables it fills; the original left their old lengths.#153
5FilesFileRequest$
freqlib
FileRequest$ closes the system libraries it opens; the original opened them on every call and never closed them.#154
5FilesFileRequest$
freqlib
The requester’s DRIVES locks the system’s volume list while reading it; the original could read freed memory during a disk change.#156
5FilesFileRequest$
freqlib
The requester’s CD button keeps the program’s start directory and restores it at the end; the original released it and the program ended elsewhere.#157
5FilesFileRequest$
freqlib
The requester’s PARENT and CD release the parent directories they look up; the original kept them in use until reboot.#158
5FilesFileRequest$
freqlib
The file requester’s list holds names of any length and leaves out an entry it has no memory for; the original overwrote memory and could crash.#159
5FilesFileRequest$
freqlib
FileRequest$ on a screen of 645 lines or more stays within its data; the original wrote far behind it and could crash.#160
5FilesFileRequest$
freqlib
FileRequest$(...)+".bak" joins the text properly; the original left a 0 byte after the result and lost the last character of the following text.#161
5Gadgets & menusFree GadgetList
gadgetslib
Free GadgetList frees the text buffers of string gadgets and the data of prop gadgets; the original kept them until the program ended.#163
5Gadgets & menusStringGadget, Borders
gadgetslib
StringGadget after Borders Off writes nothing to low memory; the original wrote to the addresses 0, 2, 36 and 38.#164
5Gadgets & menusGTPalette
gtlib
GTPalette with a colour sets that colour; the original ignored it and broke a following tag list.#168
5Gadgets & menusGTCycle, GTMX, GTString, GTScroller, GTSlider, GTListView
gtlib
A GadTools gadget created without an optional value gets the default; the original gave it the value of the gadget created before.#169
5Gadgets & menusGTButton
gtlib
A toggle GTButton whose gadget could not be made writes nothing; the original wrote to address 14.#171
5Gadgets & menusGTShape
gtlib
A GTShape gadget has no label; in the original it got the label of the gadget made before it.#172
5Gadgets & menusGTShape
gtlib
Each GTShape gadget keeps its own images; in the original all showed the images of the last one and GadTools’ own image was overwritten.#173
5Gadgets & menusGTCycle, GTMX
gtlib
Cycle and MX gadgets count their labels and free the label memory with the gadget; the original had a fixed, unchecked room and never freed it.#174
5FilesiffiolibA read error during an IFF load ends the data and the load command stops with its runtime error; the original reused old buffer contents or hung.#177
5FilesiffiolibAn IFF chunk of length 0 reads nothing; the original read it as 4 GB, so LoadSound of an empty BODY overwrote memory.#179
5GraphicsSaveBitmap
iffmakelib
SaveBitmap of a bitmap with flags set writes the planes the bitmap has; the original wrote hundreds of planes from memory into an invalid file.#180
5GraphicsSaveBitmap, SaveScreen, SaveShape
iffmakelib
The packer of the save commands packs every row from its own bytes, so saved bytes can differ but the picture does not; the original read the byte behind the row.#183
5GraphicsSaveBitmap, SaveScreen, SaveShape, SavePalette
iffmakelib
A saved palette of an odd number of colours gets the pad byte IFF requires, so the file is one byte longer; the original’s files failed in strict IFF readers.#184
5SystemSaveBitmap, SaveScreen, SaveShape, SavePalette
iffmakelib
Without runtime error checking, a save command whose file cannot be opened reports “Can’t open File” with its text; the original’s message pointed behind the library.#185
5GraphicsILBMInfo
ilbmifflib
ILBMInfo of a file that could not be opened does not close it; the original closed it anyway, which crashes older AmigaOS versions.#186
5GraphicsLoadBitMap, LoadScreen
bitmaplib, screenslib
LoadBitMap and LoadScreen load only the planes a bitmap with flags set has; the original wrote the extra planes through memory behind it.#188
5GraphicsDecodeILBM
ilbmifflib
DecodeILBM skips the pad byte after a chunk of odd length; the original read the next chunk one byte early and failed or took wrong data.#189
5GraphicsDecodeILBM
ilbmifflib
DecodeILBM stores only the part of the picture that fits the bitmap; the original wrote all planes and rows through memory behind a smaller bitmap.#190
5GraphicsDecodeILBM
ilbmifflib
DecodeILBM ends every packed run with its row; the original let a run across the row end continue into the next row.#191
5SystemilbmifflibWithout runtime error checking, the errors of loading IFF pictures carry their text; the original’s messages pointed behind the library.#192
5InputInkey$
inputoutputlib
The runtime error of Inkey$ from the default input reads “Default Input”; the original misspelt it “Defualt”.#193
5GraphicsLoadFont
intuifontlib
LoadFont with a style loads the font in that style; the original wrote the style into the font’s flags and lost it.#197
5GraphicsLoadFont
intuifontlib
LoadFont on the same IntuiFont object frees the copy of the previous font name; the original lost that memory.#198
5Numbers & dateslmullibA Long or Quick multiplication that overflows gives the product with the excess bits cut off; the original added part of the lost bits back, so results differed slightly.#199
5Data structuresSortList
linklistlib
SortList sorts every key in ascending order; the original put keys more than 2^31 apart the wrong way round.#201
5SystemSin, Sqr
mathtranslib
A program using transcendental float functions starts when mathtrans.library cannot be opened; the original hung at its start.#202
5SoundPlayMed
medlib
The MED position jump Bxx goes to position xx; the original could take a byte of another track as part of the position and jump to position 0 or read before the play sequence.#203
5SoundPlayMed
medlib
The MED tremolo 7xy with speed 0 stays a tremolo; the original ran the vibrato code in the first step of the line.#204
5SoundPlayMed
medlib
The MED retrigger 1Fxy uses its own interval y after the delayed note; the original took it from a value the note had left and could strike the note twice.#205
5SoundPlayMed
medlib
MED synth and hybrid periods are limited to 113; the original set the limit in the wrong place and sent smaller periods to the audio hardware.#206
5SoundStartMedModule
medlib
A MED module with MIDI dumps is relocated correctly; the original read the next module’s address from a wrong place and could change foreign memory.#207
5SoundSetMedMask, PlayMed
medlib
With a channel mask with gaps, every playing channel gets the repeat part of its sample; the original gave it only to the first channels.#208
5SoundSetMedMask
medlib
SetMedMask keeps only the channels 0-3; the original let notes of tracks 4-15 through, which wrote behind the player’s data.#209
5SoundPlayMed
medlib
A MED finetune outside -8..7 is ignored (15xx) or taken as 0 (instrument); the original read a period table from outside its table.#211
5Gadgets & menusMenuState
menuslib
MenuState disables or enables a single whole menu; the original changed the wrong bit.#216
5Gadgets & menusMenuChecked
menuslib
MenuChecked gives the state of the entry asked for; for most entries the original gave the state of another entry or read unrelated memory.#217
5Gadgets & menusShapeItem, ShapeSub
menuslib
ShapeItem and ShapeSub take their flags as MenuItem does; the original ignored small flag values such as toggle, exclude and checked.#218
5Gadgets & menusMenuItem, SubItem
menuslib
Menu item flags such as $10000 are taken as given; the original took them as 4, a checked toggle item excluding all others.#219
5Gadgets & menusSubItem
menuslib
Replacing a subitem moves the subitems behind it by the change of its height; the original moved them by a wrong amount, covering it or leaving a gap.#220
5InputMouse
mouselib
Mouse On starts at the mouse’s position; the original swapped the two start counters, and the mouse jumped once.#223
5GraphicsDecodePalette, FadePalette
palettelib
Decoded and faded palettes show the right colours on Kickstart before 3.0; the original took the wrong byte and made them black.#224
5GraphicsDecodePalette
palettelib
DecodePalette skips the pad byte behind a chunk of odd length and finds the colours and cycles behind it; the original missed them.#225
5GraphicsDecodePalette
palettelib
DecodePalette with an offset into a too small palette enlarges it and keeps the colours below the offset; the original cleared them.#226
5GraphicsPaletteRange
palettelib
PaletteRange with the same start and end colour sets that colour to the start colour; the original divided by zero.#227
5GraphicsStopCycle, Cycle
palettelib
Cycle after StopCycle starts the colour cycling again; with the original it did not start.#228
5GraphicsInitPalette, PalRGB, AGAPalRGB, CyclePalette, Cycle
palettelib
InitPalette, PalRGB and AGAPalRGB end the colour cycle list of a new palette; with the original, CyclePalette and Cycle read on into the next palette.#229
5Numbers & datesPrint, NPrint, Str$
printlib
A Quick whose fraction rounds up to a whole number prints that number, such as 3; the original lost the carry and printed 2..#233
5Numbers & datesPrint, NPrint, Str$
printlib
A Quick whose fraction rounds to 0 prints without a point, such as 1; the original printed 1..#234
5Numbers & datesFormat
printlib
Format keeps a rounding carry out of the first digit, so 999.96 with "####.#" prints 1000.0; the original printed 000.0.#235
5Numbers & datesFormat
printlib
Format rounds numbers below 1, so 0.567 with ".##" prints .57; the original cut them to .56.#236
5Numbers & datesFormat
printlib
Format without - or + in the format string prints the minus sign of a negative number; the original lost it.#237
5Numbers & datesFormat
printlib
A number too large for its Format prints a ? and then its lowest digits; the original printed the ? and only spaces.#238
5Numbers & datesFloatMode, Format
printlib
A float below 1E-17 printed in fixed point form leaves the library’s power-of-ten table intact; the original overwrote it, so later large numbers printed wrong digits.#241
5StringsStr$, UStr$
printlib
Str$ and UStr$ of a string return the string; the original returned a number made from its address.#242
5InputBlitzKey
rawkeylib
BlitzKey gives no character for raw key codes above 104; the original read a character of another key or a byte of the library’s code.#245
5SystemrundebuglibA runtime error in an interrupt routine of an executable with runtime error checking keeps its message for the program’s own requester; the original lost the message on the way to the trap handler that was there before and closed intuition.library in the interrupt.#246
5Windows & screensScreen, ScreenTags, WbToScreen, FindScreen, ShowBitMap
screenslib
Replacing a screen that had used ShowBitMap frees it properly on Kickstart 3.0 and later; the original crashed.#247
5Windows & screensFindScreen, WbToScreen, CloseScreen
screenslib
A screen object that only found a screen forgets it without closing it; the original closed a screen another object had opened.#248
5Windows & screensScreenTags
screenslib
ScreenTags with the address of a tag list of more than 15 tags copies 15 and links the rest; the original overwrote code behind the library.#249
5Windows & screensScreen, ScreenTags
screenslib
A screen mode with a monitor part, such as PAL or NTSC, opens on that monitor; the original used only the low word and opened on the default monitor.#250
5SystemScreen
screenslib
Without runtime error checking, a screen that cannot be opened stops with “Can’t open Screen”; the original jumped behind the library and crashed.#251
5SystemCloseSerial, SetSerialBuffer, SetSerialLens, SetSerialParams, SerialEvent
seriallib
CloseSerial, SetSerialBuffer, SetSerialLens, SetSerialParams and SerialEvent find a unit other than 0 at its own place; the original reached the data of another unit.#252
5SystemReadSerialMem
seriallib
ReadSerialMem reads through the unit’s read request, so the read settings of SetSerialParams apply; the original read through the write request.#253
5SystemReadSerialString
seriallib
ReadSerialString reads at most what fits in its string buffer; the original wrote behind the buffer.#256
5SystemCloseSerial
seriallib
CloseSerial stops and collects a write still going on before it closes the device; the original left it pending.#258
5SystemOpenSerial
seriallib
OpenSerial closes the device again when it gets no signal for writing; the original left it open until a reboot.#259
5SystemOpenSerial
seriallib
A second OpenSerial of an open unit returns 0 and leaves the unit alone, also with shared access; the original set the unit up again and lost it when the open failed.#260
5GraphicsLoadShape
shapeslib
LoadShape of an IFF ANIM stops at the last shape object; the original put further frames into the memory behind the shape table.#265
5GraphicsLoadShape
shapeslib
LoadShape of an IFF ANIM uses each frame’s own XOR mode; the original took the mode of the first frame for all.#266
5GraphicsLoadShapes, DecodeShapes, SaveShapes
shapeslib
LoadShapes and DecodeShapes ignore the in-place mark stored in a shapes file; the original took it over, so the loaded shapes were never freed.#267
5GraphicsCopyShape
shapeslib
CopyShape of a shape that DecodeShapes made in place gives a copy that is freed; the original copied the mark, so the copy was never freed.#268
5GraphicsDecodeShapes
shapeslib
Freeing or replacing a shape that DecodeShapes made in place in chip memory removes its mark; with the original the next shape in that object was never freed.#269
5SystemDecodeShapes
shapeslib
Without runtime error checking, DecodeShapes of address 0 stops with its runtime error; the original jumped behind the library and crashed.#270
5GraphicsXFlip
shapetrixlib
XFlip of a shape whose width is not a multiple of 16 waits for the blitter before mirroring; the original’s result depended on timing.#271
5GraphicsScale
shapetrixlib
Scale to less than one pixel wide or high uses only the shape’s pixels; the original also read the memory behind the shape.#273
5GraphicsXFlip, YFlip, Rotate, Scale
shapetrixlib
XFlip, YFlip, Rotate and Scale work on the whole of shapes with planes of 32 KB or more; the original flipped only part of them or nothing.#274
5Data structuresSort
sortlib
Sort on a word array compares with the middle element; the original took the word after it, reading behind a one-element array.#275
5Data structuresSort, SortDown
sortlib
Sort on a string array treats never-assigned elements as empty strings; the original read their length and characters from low memory and sorted them anywhere.#276
5SoundspeaklibWhen translator.library or narrator.device cannot be opened, the program’s end closes only what was opened; the original also closed the unopened device and freed the system’s signal 0.#278
5SoundSetVoice
speaklib
SetVoice with a large negative rate, pitch or sample frequency sets the lowest value; the original set the highest, for example rate 400 for -32768.#279
5GraphicsSaveSprites, LoadSprites, SpriteMode
spriteslib
A sprite keeps the size of the SpriteMode it was made in for SaveSprites, LoadSprites and freeing; the original used the current mode.#280
5GraphicsGetaSprite
spriteslib
GetaSprite in SpriteMode 1 or 2 leaves the right edge of the last sprite empty; the original took bytes of the next shape row into it.#282
5GraphicsShowSprite
spriteslib
ShowSprite of a sprite cut off at the top of the slice skips the cut lines; the original showed wrong lines or read anywhere in memory.#283
5GraphicsStencil
stencillib
Stencil of a bitmap taller or wider than 1024 pixels fills the whole stencil; the original filled only part of it.#284
5StringsRight$, UnRight$
stringfunclib
Right$ and UnRight$ work on strings of any length; the original took characters from before the string when 32768 or more were left out.#285
5StringsMid$
stringfunclib
Mid$ with a very large length stops at the end of the string; the original returned a string reaching far beyond it.#286
5SoundPlayModule
trackerlib
PlayModule finds the highest pattern from all 128 song positions; the original never read position 127 and could search 64 KB too far and clear memory behind the module.#289
5SoundPlayModule
trackerlib
A tracker sample with a finetune keeps its real volume, so volume slides on it work; the original took the finetune as part of the volume.#290
5SoundPlayModule
trackerlib
A tracker sample whose repeat starts at 64 KB or later loops from the right place; the original wrapped the offset at 64 KB.#291
5SoundPlayModule
trackerlib
The tracker effect C also sets the channel’s volume in the player, so a following volume slide starts from it; the original slid from the sample’s volume.#293
5SoundPlayModule
trackerlib
The tracker effects C and F also limit parameters of $80 and above; with the original, F80 played a new row in every frame.#294
5SoundPlayModule
trackerlib
A tracker module with sample numbers above 31 no longer plays memory behind the sample table; PlayModule clears such numbers once.#295
5SoundLoadModule
trackerlib
LoadModule of a drawer or a missing file frees its memory and the drawer’s lock before the runtime error; the original kept both.#296
5SystemTaskName$
utillib
TaskName$ of a task without a name returns the empty string; the original copied the text at address 0.#297
5SystemDeleteMsgPort
utillib
DeleteMsgPort replies the messages still waiting at the port before freeing it; the original freed it and the senders never got them back.#299
5Numbers & datesSgn
vallib
Sgn of a float returns -1, 0 or 1 by its value; the original always returned 1.#301
5Numbers & datesVal
vallib
Val of a hexadecimal, binary or negative number reads only the string; the original read one character behind it and took a digit there as part of the number.#302
5Numbers & datesVal
vallib
Val reads the whole of a string longer than 32768 characters; the original gave 0 or read only part of it.#303
5Numbers & datesVal
vallib
Val of a number with 10 or more decimal places counts the first 9 and skips the rest; the original gave a wrong fraction or dropped it.#304
5SystemwbstartuplibWithout runtime error checking, a program that gets no memory for its Workbench arguments stops with its runtime error; the original jumped behind the library and crashed.#305
5SystemwbstartuplibA program started from the Workbench closes dos.library at its end; the original never closed it, raising its use count with every start.#306
5SystemwbstartuplibA program started from the Workbench restores the old current directory at its end; the original left its drawer current.#307
5InputwbstartuplibA program started from the CLI with an argument line over 255 characters gets the first 255; the original overwrote the memory behind its buffer.#308
5Windows & screensMenus, MenusOn, MenusOff
windowslib
Menus, MenusOn and MenusOff reach every window; the original reached only the lower half of the window numbers.#310
5Windows & screensEvent
windowslib
A string gadget entry reports its gadget up once; the original reported a second one when another event came in between.#311
5Windows & screensEventQualifier
windowslib
The extra menu event of a multi-item menu choice has the qualifier of the choice; in the original EventQualifier of it was random.#312
5InputQualifier
windowslib
Qualifier sets its whole long result; the original set only the lower half, leaving garbage in the upper.#313
5Windows & screensWCls
windowslib
WCls clears the whole window; the original left its top pixel line.#314
5Windows & screensWScroll, WPrintScroll
windowslib
WScroll and WPrintScroll keep the drawing colour of the window; the original set it to 0.#315
5Windows & screensWindowTags
windowslib
WindowTags without tags opens the window with no extra tags; the original reused the tags of the previous WindowTags.#316
5Windows & screensWindowTags
windowslib
WindowTags with a long tag list copies only a part and links the rest; the original overwrote code of the library.#317
5Windows & screensWindow, WindowTags, WTitle
windowslib
Window title copies are freed with the window or the next title; the original never freed them and lost memory.#318
5Windows & screensWindow
windowslib
A Window with the super bitmap flag $80 but no BitMap# is no super bitmap window; the original gave it the bitmap of an earlier Window.#319
5InputEdit$
windowslib
Edit$ in a window with a proportional font uses each character’s own width, also from code 160 on; the original misplaced the cursor and text for umlauts.#321
5Windows & screensCloseWindow
windowslib
CloseWindow discards only the closed window’s waiting events; the original threw away those of all windows.#322
5Gadgets & menusGTShape
gtlib
GTShape leaves a gadget that could not be created alone; the original wrote to low memory.#327
5Gadgets & menusGTGetAttrs, GTSetAttrs
gtlib
GTGetAttrs and GTSetAttrs in a string expression give a correct joined string; the original built it over a tag list inside the library and overwrote memory.#328
5SoundSetMedMask, PlayMed
medlib
A MED channel switched off with SetMedMask skips its notes; in the original every later channel played the notes of the channel before it.#334
5CompilerCompilerA program using a library that needs objects only through another library ends cleanly; the original could hang the system at its end.#335
5CompilerCompilerStarted from the Workbench, blitz2 has ended before the Workbench unloads it, through the startup code of the port’s C library (libnix); the original could crash at its very end, for example under MungWall.#337
5EditorTEDStarted by blitz2 with a source, the editor always opens that source; the original sometimes opened a wrong file or none, depending on memory layout.#340
5CompilerInclude, IncDir
Compiler
After IncDir, a file name with a device or assign is included as given; the original put the IncDir path in front and failed.#341
5CompilerIncDir
Compiler
The path of IncDir applies only to the compile that set it; the original kept it for the following compiles.#342
5CompilerCompilerCharacter constants in inline assembler are read correctly on every line; after a calculation such as #">"*8, the original could make an earlier #" " 0.#343
5CompilerCompilerAn AmigaOS function called inside an expression keeps the expression’s intermediate values; the original overwrote them.#344
5FilesFileRequest$
freqlib
After the requester’s CD button, clicking into the path field works normally; the original damaged the gadget and the system copied the path into low memory.#345
5EditorJOIN
TED
A JOIN that moves a block’s start past column 127 removes the block; the original left an inverted ghost block to the end of the text.#346
5EditorBLOCK TAB
TED
Without tokenising, BLOCK TAB adds only indentation; the original added an invisible 0 byte to each line, an extra empty line after saving and reloading.#347
5EditorBLOCK UNTAB
TED
BLOCK UNTAB removes only the indentation of each line; the original removed the first tab-size characters whatever they were, and cleared short lines.#348
5EditorTEDTyping inside a block marked over several lines keeps the block’s end; the original stretched it to the end of its last line, so block commands acted on more text.#349
5EditorTEDThe editor starts with the small font on a Workbench where (height - 20) is a multiple of the font height; the original opened a screen one row too tall and failed.#351
5EditorDEFAULTS
TED
Switching from the 6 to the 8 pixel font keeps the cursor in the text; the original left it below the last row of the editor.#352
5EditorDELETE LINE
TED
DELETE LINE on the only line of a one-line block ends the block completely; the original left the block menu items, the status and the start mark set.#353
5EditorBLOCK TO DISK
TED
Without tokenising, BLOCK TO DISK writes accented letters of the middle lines as they are; the original wrote them as keyword names.#354
5EditorKILL, BLOCK TO DISK, JOIN
TED
A tokenised line longer than about 128 characters is cut at the end of the buffer; the original overwrote memory behind the editor’s buffers.#355
5EditorNEW, LOAD
TED
When the empty first line cannot be allocated, the editor reports out of memory and NEW keeps the old text; the original went on with freed lines.#356
5EditorTEDA failed editor start is reported as an error, so blitz2 takes its error exit; the original reported success and blitz2 crashed.#357
5EditorLOAD
TED
LOAD of an empty file frees the memory of the previous text; the original kept it allocated until the next reboot.#358
5EditorTEDWithout a keyword list, as in the editor on its own, no keyword is found; the original looked keywords up at address 0, giving garbage or a crash.#359
5EditorKILL
TED
KILL of a block that is the whole only line, without memory for the new empty line, reports out of memory and keeps the line; the original left freed memory in use.#361
5EditorBLOCK TO DISK, COPY
TED
Without tokenising, a character of 128 or more in a block is kept in BLOCK TO DISK and COPY; the original ended the block there.#362
5EditorJOIN
TED
JOIN frees the memory of the joined line completely; the original lost 8 to 16 bytes with every join.#364
5EditorJOIN
TED
JOIN with a next line that starts with a label removes that label from the label column; the original left it pointing to freed memory.#365
5EditorTEDWithout memory for the title bar’s colour gradient, the editor opens its screen without it; the original crashed.#366
5EditorTEDWithout chip memory for its mouse pointer the editor ends cleanly; the original copied the pointer images to address 0 and crashed the system.#367
5EditorCLI
TED
CLI with the Workbench screen closed runs the shell and closes its console window afterwards; the original did not run it and left the window open.#368
5CompilerCompilerOut of memory during a compile from the editor ends the compile through the compiler’s own cleanup, with include files closed and memory freed, and the editor shows its alert; the original abandoned the compile in the middle, and the next compile did not come back.#369
5EditorTEDWhen the start file does not fit into memory, the editor shows the out-of-memory alert and ends with an error; the original crashed while loading it.#370
5EditorPRINT
TED
Without tokenising, PRINT prints accented letters as they are; the original printed them as bold keyword names.#371
5EditorPRINT
TED
PRINT of a line with many keywords ends with the last keyword that fits; the original overwrote memory behind the editor’s buffers.#372
5EditorTEDWhen console.device cannot be opened the editor ends cleanly; the original crashed during its start.#373
5EditorLOAD
TED
Characters of 128 or more in a text source load as the characters they are; the original loaded them as keywords and swallowed the next byte, joining lines.#374
5EditorLOAD, BLOCK LOAD
TED
A line longer than 128 columns is split into pieces without loss and the whole file is loaded; the original lost three characters and BLOCK LOAD stopped there.#375
5EditorLOAD
TED
The last line of a text source without a final line feed is tokenised on loading; the original left it untokenised.#376
5EditorLOAD
TED
In a tokenised source a TAB behind a keyword goes to the column the line shows; the original counted the keyword as two characters.#377
5EditorLOAD
TED
With a tab stop above 133 from the options file, TAB expansion stops at the end of the line buffer; the original overwrote memory behind it.#378
5EditorLOAD
TED
A last byte of 128 or more in a file is dropped; the original left half a keyword at the end of the last line and read garbage behind it.#379
5EditorSAVE
TED
After a write error while saving, neither the .xtra file nor the icon is written; the original wrote both next to the cut source.#380
5EditorTEDWhen the editor’s window or character memory cannot be allocated, it closes its screen and ends; the original crashed and left the screen open.#382
5EditorDEFAULTS
TED
For “Tokenise” and “Create Icons” in the options file only the lowest bit counts; other values in the original disabled or misdrew the check box.#383
5EditorDEFAULTS
TED
A colour value of 4 or more in a damaged options file counts as 0 to 3; the original marked wrong colour buttons and changed other requester data.#384
5EditorOPTIONS
TED
A tab stop of 0 is refused; the original accepted it, also set it for values of 80 and more, and crashed at every TAB.#385
5EditorTEDA word that reaches column 128 ends with the line; the original matched it together with the start of the next line, so Pri and nt became Print.#386
5EditorTEDStarted from the Workbench, the editor is unloaded only after it has ended; the original could be unloaded while still running and crash at its end.#387
5EditorTEDStarted from the Workbench without a readable .info file, the editor starts with an empty text; the original tried to load the .info name or bytes as text.#388
5EditorTEDA too short .info file of the editor is closed; the original left it open until the next reboot.#389
5GraphicsAllocFill
2dlib
AllocFill as a statement makes the fill buffer for the used bitmap; the original took the size from the string buffer and made a wrong buffer or none.#390
5GraphicsCircle, Circlef
2dlib
Circle and Circlef clip the points above the top edge of the bitmap; the original wrote them into memory behind the planes or the fill buffer.#392
5GraphicsInitAnim
animlib
InitAnim copies an unpacked first picture and ends every packed run with its row; the original unpacked every picture and wrote long runs behind the row.#397
5SystemLoadAnim
animlib
Without runtime error checking, LoadAnim of a file it cannot open stops with “Can’t Open Anim File”; the original jumped behind the library and crashed.#398
5GraphicsFree Anim
animlib
Freeing an anim reads the link to its next change before freeing it; the original read it from freed memory.#399
5GraphicsLoadAnim, InitAnim
animlib
An anim file without a first picture loads without one and InitAnim draws nothing; the original took “not found” as the length and unpacked random memory.#400
5GraphicsNextFrame
animlib
NextFrame of an anim with one change or none plays it once and stays on the last frame; the original read the next change from address 0.#401
5GraphicsLoadAnim, InitAnim, NextFrame
animlib
An anim with a width, height or depth of 0 loads without picture data and draws nothing; the original ran its loops 65536 times over memory.#402
5FilesASLFileRequest$, ASLPathRequest$
asllib
ASLFileRequest$ and ASLPathRequest$ free a requester only if one was allocated; the original asked to free one at address 0.#403
5GraphicsCustomCop
blitzcoplib
CustomCop with a string of 0 to 3 bytes inserts only the wait for its line; the original copied about four thousand million instructions over memory.#404
5GraphicsCustomCop
blitzcoplib
CustomCop puts the instruction $01FE1234 into the copper list as given; the original took it for an internal mark of Slice and changed it.#405
5GraphicsCustomCop
blitzcoplib
CustomCop in a program with a Slice maximum of 0 leaves memory alone; the original changed 4 MB behind the slice objects.#406
5GraphicsShow, ShowF, ShowB, Slice
blitzcoplib
Show, ShowF and ShowB on a slice made without the BPLCON1 instruction change nothing outside the slice; the original wrote to a random address.#407
5SystemdhandlerlibRUN with the debugger flushes the CPU caches before the debugger process starts; on a 68020 to 68060 the original could run stale code there.#409
5GraphicsDisplayBitMap, DisplayScroll
displaylib
DisplayBitMap CopList#,BitMap# without a position starts DisplayScroll at 0,0; the original started at values left over in registers.#411
5SystemdisplaylibWithout runtime error checking, the runtime errors of displays and copper lists are reported with their text; the original jumped behind the library and crashed.#412
5GraphicsInitCopList, CustomSprites
displaylib
Sprite channels of a copper list that show no sprite show an empty sprite; the original fetched them from chip memory address 0 and showed garbage.#413
5InputGameb
gameiolib
Gameb(0) sets back the control lines of port 0 only; the original left them as for port 1 and changed a line of port 1.#415
5GraphicsRenderPoly
polylib
RenderPoly before any RenderToBitmap or RenderToChunky draws nothing; the original drew into random memory.#420
5StringsReplace$
stringfunclib
Text added after Replace$ with an empty search string comes out right; the original put a byte of its arguments in its place.#424
5GraphicsBTBlockImage
bb_blitlib
BTBlockImage takes image 147 and the ones after it from their place; the original read them from memory before image_addr or inside the first images.#427
5SoundCheckTrackerID
ciatrklib
CheckTrackerID returns 0 (False) for a module without the mark “M.K.” or “M!K!” and for an empty slot; the original returned the contents of address 0.#430
5SoundDecodeModule
ciatrklib
DecodeModule copies a module at $80000000 or above into chip memory; the original took it for chip memory and left it where the sound hardware cannot play it.#432
5SoundDecodeModule
ciatrklib
DecodeModule copies the whole module into chip memory; the original copied a module whose size ends in $FFFD to $FFFF 64 KB short.#434
5SoundGetModuleName$
ciatrklib
Without runtime error checking, GetModuleName$ of an empty slot returns the empty string; the original returned ten undefined characters per slot number.#437
5SoundPlayTracker (effect E8x)
ciatrklib
The effect E8x on a voice without a loop does nothing; the original rewrote 64 KB of memory from the loop start, from address 0 on a voice that had not played a sample yet.#439
5SoundLoadTrackerModule
ciatrklib
LoadTrackerModule loads the whole file; the original loaded a file whose size ends in the byte $FD, $FE or $FF 253 bytes short.#442
5SoundLoadTrackerModule
ciatrklib
LoadTrackerModule calls AmigaDOS with its library base set up; the original called it through whatever the program happened to hold, which crashed.#443
5SoundLoadTrackerModule
ciatrklib
After a read error LoadTrackerModule releases the file’s lock once; the original released it a second time.#444
5SoundChangeTrackerVBlank, StartTracker
ciatrklib
Removing the tracker library’s CIA interrupt removes the interrupt of its own timer; the original always removed timer A’s, which left its own interrupt on timer B installed and took another program’s away.#448
5SoundChangeTrackerVBlank, StartTracker
ciatrklib
Removing the tracker library’s CIA interrupt leaves the audio filter and power LED as they are; the original toggled them.#449
5SoundStartTracker
ciatrklib
Without runtime error checking, StartTracker of an empty slot returns 0 (False); the original returned the slot number.#451
5SoundWaitTrackerEvent
ciatrklib
WaitTrackerEvent calls the graphics library with its library base set up; the original called it through whatever the program happened to hold, which crashed.#453
5Windows & screensRTASyncRequest, RTCheckASyncRequest, RTEndASyncRequest, RTASyncPaletteRequest, RTCheckASyncPaletteRequest, RTEndASyncPaletteRequest
neilsreqtoolslib
The asynchronous requesters no longer read an unused value through the window object and give reqtools the requester’s signals; with reqtools.library 38 nothing visible changes.#454
5Windows & screensRTEZGetString
neilsreqtoolslib
A cancelled RTEZGetString frees the memory of its input; the original kept MaxChars bytes per cancelled call until the program ended.#458
5SystemIsReqToolsActive
neilsreqtoolslib
When the requesters cannot be prepared at the start, the library closes reqtools.library and frees what it had; the original kept both after the program ended.#460
5StringsRTEZLoadFile, RTFileRequest
neilsreqtoolslib
Text appended to RTEZLoadFile or RTFileRequest follows the result; the original left a 0 byte between and lost the last character.#461
5FilesRTEZMultiLoadFile
neilsreqtoolslib
RTEZMultiLoadFile returns -1 whenever files were chosen; the original returned the address of the file list instead when it ended in $00.#462
5SystemneilsreqtoolslibWithout reqtools.library the requester commands return their cancel value (0, an empty string, RTVersion 0); the original crashed the machine.#463
5Windows & screensRTEZPaletteRequest, RTASyncPaletteRequest, RTReturnValue
neilsreqtoolslib
RTReturnValue gives the result of RTEZPaletteRequest and RTASyncPaletteRequest too; the original kept that of the requester before.#464
5StringsRTEZSaveFile
neilsreqtoolslib
Text appended to RTEZSaveFile follows the chosen path; the original wrote it over the end of the path or behind its arguments.#465
5Windows & screensRTEZScreenModeRequest
neilsreqtoolslib
RTEZScreenModeRequest calls reqtools’ screen mode function; the original called the font requester’s, which with reqtools.library 38 opens the screen mode requester all the same, so nothing visible changes.#466
5Gadgets & menusPopUpWindow
popupwinlib
PopUpWindow closes the menu and returns when there is no memory for a menu level; the original went on with the level’s data at address 0 and could crash.#467
5Gadgets & menusPopUpWindow
popupwinlib
PopUpWindow leaves the audio filter and power LED as they are; the original toggled them for every menu with sub menus.#468
5Gadgets & menusPopUpWindow
popupwinlib
A mouse button pressed while a sub menu of PopUpWindow closes is no longer lost; the original threw away the waiting messages of all menu levels.#469
5Gadgets & menusPopUpInit
popupwinlib
PopUpInit keeps the message port the library already has; the original made a new one each time and lost a port and a signal per call, until PopUpWindow hung.#470
5Gadgets & menusPopUpWindow
popupwinlib
PopUpWindow can be used as a function and returns the address of the item chosen (0 for none); the original was a statement only and never told the item.#471
5SoundStartTracker, TrackInit
ciatrklib, ritrackerlib
A sample with a finetune value above 15 plays at its pitch, since the player keeps the value’s low four bits; the original read periods from far behind its period table.#476
5SoundStartTracker, DecodeModule, TrackInit
ciatrklib, ritrackerlib
The highest pattern of a module is found from all 128 song positions; the original never read the last one and could search 64 KB too far, take the samples from the wrong place and clear or copy memory behind the module.#477
5SoundStartTracker, TrackInit
ciatrklib, ritrackerlib
A module with sample numbers above 31 no longer makes the sound hardware play memory behind the sample table; the player sets such numbers to 0 once.#480
5Soundciatrklib, ritrackerlibA note period below the lowest note of the table (1 to 112, which Protracker does not write) plays the highest note; the original played a low note or a value from the player’s data.#481
5Data structuresStart, Length, Erase, SwapBank, Reserve, NextBank, FillMem, BLoad, BSave
riamosfunclib
A bank number outside 0 to one below the bank limit is no bank; the original read and wrote before or behind its tables of banks.#484
5FilesBLoad
riamosfunclib
BLoad(name$) returns -1 for every failure and frees the bank of a failed read; the original returned 0, the first bank, or a bank with undefined contents.#486
5FilesBLoad
riamosfunclib
BLoad into a bank leaves the bank as it was when the file cannot be opened; the original had already erased it and reserved it anew.#487
5FilesBLoad
riamosfunclib
BLoad returns 0 when reading the file fails; the original returned -1, success.#488
5FilesBSave
riamosfunclib
BSave with a bank writes at most the bank’s length, as documented; the original also saved the memory behind a shorter bank.#489
5FilesChangeDir
riamosfunclib
ChangeDir returns -1 and remembers the new directory when the one before was the boot volume’s root; the original returned 0 and never released it.#490
5FilesChangeDir
riamosfunclib
A program that uses ChangeDir ends in the directory it was started in; the original released the current directory and left the Shell with it.#491
5Data structuresCopyByte, CopyWord, CopyLong, FillMem
riamosfunclib
CopyByte, CopyWord, CopyLong and FillMem with a count of 0 do nothing; the original copied or filled 2^32 units over all memory.#492
5StringsDeviceName$
riamosfunclib
DeviceName$("") leaves the string expression in front of it alone; the original cleared a “:” at its end.#493
5FilesDeviceName$
riamosfunclib
DeviceName$ returns "" for a device without a running handler; the original read from near address 0 and returned nonsense.#494
5Data structuresEraseAll, BankLimit
riamosfunclib
EraseAll and the end of the program free every bank also with more than 65536 banks; the original kept most of them, and BankLimit 0 ran outside its tables.#495
5FilesMakeDir
riamosfunclib
MakeDir gives back the lock of the new directory; the original gave back whatever dos.library left in a register, so the directory could stay locked.#496
5Data structuresNextBank
riamosfunclib
NextBank without an argument searches from bank 0; the original started at whatever number a register held.#497
5Data structuresReserve
riamosfunclib
Reserve(length) returns -1 when every bank is in use; the original reserved a bank before the first one and damaged its tables.#498
5Data structuresReserve
riamosfunclib
Reserve(length) with a negative length returns -1; the original returned 0, the number of the first bank.#500
5FilesSaveExec
riamosfunclib
SaveExec returns 0 when the file cannot be created or the list holds no code hunk; the original returned an address and wrote a useless file for an empty list.#501
5FilesSaveExec
riamosfunclib
SaveExec numbers only the code hunks it writes; the original also counted the items it left out, and the file could not be loaded.#502
5FilesSaveExec
riamosfunclib
SaveExec writes a loadable executable for any number of code hunks; the original’s file with two or more could not be loaded.#503
5GraphicsRINextAnimFrame
rianimlib
RINextAnimFrame plays ANIM7 animations with short (word) data; the original decoded them as long data and drew garbage.#504
5GraphicsRIAnimInit, RINextAnimFrame, RIAnimFrameCount
rianimlib
The library finds the BMHD, frames, CMAP and DLTA behind a chunk of odd length, such as an ANNO; the original read one byte off and missed them.#505
5GraphicsRIAnimInit, RINextAnimFrame, RIAnimFrameCount
rianimlib
A corrupt chunk length ends the walk through the animation; the original’s walks went on into unmapped memory, and RIAnimInit could hang.#506
5GraphicsRINextAnimFrame
rianimlib
ANIM5 animations whose width is no multiple of 16 decode their last column; the original dropped it and overran the bitmap below 8 pixels.#507
5GraphicsRIAnimInit
rianimlib
RIAnimInit refuses a depth of 0 or above 8; the original wrote through stray plane pointers.#509
5GraphicsRIAnimFrameCount
rianimlib
RIAnimFrameCount counts only the frames; the original counted every chunk of the animation.#510
5GraphicsRIAnimInit
rianimlib
RIAnimInit takes the BMHD from the first frame only and fails without one; the original could take one from outside the first frame.#511
5GraphicsRIAnimInit, RINextAnimFrame, RIAnimFrameCount
rianimlib
A failed RIAnimInit leaves no animation; the original went on playing the previous one.#512
5GraphicsRIAnimInit, RIAnimDepth, RIAnimWidth, RIAnimHeight
rianimlib
RIAnimInit and the RIAnim size functions return normally on data that is not a FORM ANIM; the original crashed on some, such as a LIST.#513
5GraphicsRINextAnimFrame
rianimlib
RINextAnimFrame plays a frame with another chunk, such as DPAN, before its DLTA; the original crashed on it.#515
5SystemAddAppIcon
riapplib
Local variables and string expressions work after AddAppIcon; the original set the base of the local variables to 0, so procedures crashed.#516
5SystemAddAppIcon, DelAppIcon
riapplib
An AddAppIcon that fails on an id in use leaves no trace of the old icon and frees the new icon’s image; the original removed the old icon a second time later.#517
5StringsNextAppFile, AppFile
riapplib
Text appended to NextAppFile or AppFile follows the result; the original left a 0 byte between and lost the last character.#519
5SystemAppFile
riapplib
AppFile with a number of 0 or less returns an empty string; the original read the memory in front of the list of files.#520
5SystemNextAppFile, AppFile, AppLock
riapplib
NextAppFile and AppFile leave Workbench’s lock of the file’s drawer alone; the original gave it back, so the same file read again had a wrong path.#521
5SystemAppLock
riapplib
AppLock returns 0 for a message without files; the original returned a value from memory that was no lock.#522
5SystemDelAppWindow
riapplib
DelAppWindow of a window that is no App window returns 0; the original returned -1 and passed an empty App window to the system.#523
5SystemriapplibAn App object with an odd id left at the end of the program is removed normally on a 68000; the original crashed the machine.#524
5SystemAppEvent
riapplib
At the end of the program all App messages still waiting are answered; the original answered them only if AppEvent had fetched a message last.#525
5SystemAppMsgPort
riapplib
When a library it needs is missing, the App library closes the others again and AppMsgPort returns 0; the original left them open and returned a deleted port.#526
5SystemRXTokenise, RXRunCommand, RXSendCommand
riarexxlib
A command of more than 16 words is sent with 16 arguments, the 16th holding the rest of the command; the original wrote the further words over the message.#527
5SystemRXCreatePort
riarexxlib
RXCreatePort that cannot set up its port frees it and returns 0; the original left the freed port in the system’s list of public ports.#528
5SystemRXDefaultPort
riarexxlib
RXDefaultPort takes a name of any length; the original wrote a name of more than 65 characters over the library’s data, and the next command crashed.#529
5SystemRXDeletePort
riarexxlib
RXDeletePort and the end of the program free the message lists and the port’s name; the original lost their memory.#530
5SystemRXRunCommand, RXRunScript
riarexxlib
Replies to RXRunCommand are freed whole; the original lost memory with each and overwrote memory after 32 commands.#531
5SystemRXDefaultPort
riarexxlib
A program run again from the editor sends to the default port REXX; after an RXDefaultPort of the run before, the original could send to a wrong name such as REXXE.#532
5SystemRXRunCommand, RXSendCommand
riarexxlib
Without memory for a new message nothing is sent; the original could send the message before again, with the new arguments written into it.#533
5SystemRXNextArg
riarexxlib
RXNextArg moves on after an empty argument; the original returned the empty argument again and again.#534
5SystemRXTokenise
riarexxlib
A doubled quote inside a quoted word no longer keeps the word from ending at its closing quote; the original took the following words into it.#535
5SystemRXTokenise
riarexxlib
An empty quoted word "" is sent as an empty argument; the original ended the command there and dropped the words behind it.#536
5SystemRXTokenise, RXRunCommand, RXSendCommand
riarexxlib
Commands and words longer than 255 characters are split whole; the original copied them into 256-byte buffers and overwrote its own code.#537
5SystemRXTokenise
riarexxlib
The character after a closing quote starts a new word; the original dropped it, and after a quoted last word it sent words of an earlier command again.#538
5SystemRXReplyMsg
riarexxlib
RXReplyMsg gives a result string only to a message that asked for one, and only with the code 0; the original always gave one.#539
5SystemRXReplyMsg
riarexxlib
RXReplyMsg to a sender whose port is gone makes no result string; the original lost it or deleted a string at address 0.#540
5SystemRXReplyMsg, RXGetArg, RXNextArg, RXNumArgs
riarexxlib
After RXReplyMsg no message is current until the next RXReadPort or RXWaitPort; the original went on reading the replied message, which its sender may have freed.#541
5SystemRXReturnCode
riarexxlib
RXReturnCode gives the code of the last RXSendCommand also when no received message is current; the original returned 0 then.#542
5SystemRXExecuteScript, RXRunScript
riarexxlib
RXExecuteScript and RXRunScript run the script file named, and RXExecuteScript waits for its end; the original sent the name as ARexx source, so no script was loaded.#544
5SystemRXSendCommand
riarexxlib
RXSendCommand returns an empty string for a command that failed; the original read the error number as the address of a string.#545
5SystemRXSendCommand
riarexxlib
RXSendCommand frees the result string of each reply; the original lost two strings per call.#546
5SystemRXTokenise
riarexxlib
RXTokenise Off always switches the splitting off; the original could leave it on, depending on a register.#547
5GraphicsBBGetPalette
ribbmaplib
BBGetPalette counts all colours of a palette it enlarges, so the scenario’s last colour is used; the original counted one colour less.#548
5GraphicsBBGetPalette
ribbmaplib
BBGetPalette with a first colour above the last stores nothing; the original wrote one colour, possibly behind the palette’s memory.#549
5GraphicsBBScenarioLowCol, BBScenarioHighCol
ribbmaplib
BBScenarioLowCol and BBScenarioHighCol return the colours 128 to 255 as such; the original returned them negative.#550
5FilesBBMapScenarioID, BBMapWidth, BBMapHeight, BBMapInfo
ribbmaplib
The map information functions return 0 for a map without an MFRM chunk; the original read behind the file.#551
5FilesribbmaplibThe chunk search of maps and scenarios skips the IFF pad byte; the original crashed a 68000 or missed the chunks behind a chunk of odd length.#552
5FilesribbmaplibThe chunk search ends at the end of the file; the original could find a missing chunk in the memory behind it.#553
5FilesSetBBMapLoc
ribbmaplib
A failed SetBBMapLoc leaves the map chosen before as it was; the original mixed the rejected file with the old map.#554
5InputExchangeDisable, ExchangeEnable, ExchangeAppear, ExchangeDisAppear, ExchangeKill, ExchangeListChange, ExchangeUnique
ricommoditieslib
The Exchange functions report only commands of Exchange; in the original, a press of hotkey 15 counted as ExchangeDisable.#555
5SystemricommoditieslibAt the end of the program, the commodity is removed before commodities.library is closed; the original removed it through the closed library.#556
5SystemSetHotKey
ricommoditieslib
At the end of the program, the hotkeys are freed with the commodity; the original left their memory allocated.#557
5SystemMakeCommodity
ricommoditieslib
Without commodities.library, MakeCommodity returns 0; the original called the library through an address of 0 and crashed.#559
5SystemCommodityEvent, WaitCommodity
ricommoditieslib
The library answers the messages of the commodity; the original never did, so the system lost memory with every hotkey and every command of Exchange.#561
5SystemSetCxStatus
ricommoditieslib
SetCxStatus does nothing when MakeCommodity failed; the original called commodities.library without a commodity and returned -1.#562
5SystemSetHotKey
ricommoditieslib
SetHotKey frees a hotkey it replaces, and a SetHotKey that fails leaves no half-made hotkey; the original lost memory and left the half-made hotkey in place.#563
5InputSetHotKey
ricommoditieslib
SetHotKey returns 0 for a hotkey description that commodities.library cannot understand; the original returned -1 for a hotkey that never worked.#565
5InputWaitCommodity, CommodityEvent
ricommoditieslib
WaitCommodity takes the next message from the port; the original lost one waiting message and left the one it returned waiting, so it came again.#566
5SoundTrackInit
ritrackerlib
TrackInit no longer clears up to 4 bytes behind a module whose last samples are empty.#570
5SoundTrackPlay
ritrackerlib
A tempo command no longer writes to a CIA timer that the library never reserved; it does not change the speed, which the program sets by how often it calls TrackPlay.#571
5SoundCDStop, CloseCD
ricompactdisclib
CDStop and CloseCD wait until the device has taken the stopped play back; the original left its reply behind.#574
5SoundOpenCD
ricompactdisclib
OpenCD returns 0 when the device cannot be opened, not a leftover number.#575
5SoundOpenCD
ricompactdisclib
OpenCD refuses a device name of 40 characters or more instead of overwriting the library’s data.#576
5SoundCDPlayTrack
ricompactdisclib
With the SCSI flag CDPlayTrack no longer crashes a 68000 with an address error.#579
5SoundCDPlayTrack
ricompactdisclib
With the SCSI flag CDPlayTrack plays the tracks asked for and returns true or false; the original always played the author’s test blocks.#580
5SoundCDReadTOC
ricompactdisclib
CDReadTOC returns 0 and keeps no table when reading it fails; the original returned -1 and left garbage for the track functions.#581
5SoundCDNumTracks, CDFirstTrack, CDLastTrack, CDTrackLength
ricompactdisclib
The track functions return 0 before CDReadTOC and work with the SCSI flag; the original read address 0.#582
5SoundCDTrackLength
ricompactdisclib
CDTrackLength is right for track 44 and later.#585
5SoundCDUpdateInfo
ricompactdisclib
CDUpdateInfo returns 0 without an open device instead of a meaningless address.#587
5GraphicsCopperWait
ricopperfxlib
CopperWait with an x of 500 or more waits on the line given; the original waited one line later.#591
5GraphicsRedoColSplit
ricopperfxlib
RedoColSplit with an offset of 16384 instructions or more writes at that offset; the original wrote 64 KB steps away into other memory.#594
5GraphicsAttachDataType
ridatatypeslib
AttachDataType window,id without DataTypeBitmap before gives the object the picture’s size; the original attached it at 0 x 0.#595
5GraphicsAttachDataType
ridatatypeslib
AttachDataType window,id,&taglist passes the tag list on to the object; the original ignored it and read the id as the address of a tag list.#596
5GraphicsAttachDataType
ridatatypeslib
AttachDataType window,id,x,y,width,height passes its position and size as given; the original could pass huge values made of leftovers in the registers.#597
5GraphicsDataTypeBitmap
ridatatypeslib
DataTypeBitmap of an object that is not a picture returns 0; the original returned a value left by the command before.#598
5GraphicsDataTypeClose
ridatatypeslib
DataTypeClose removes an attached object from its window before it frees it; the original left the freed object in the window.#599
5GraphicsDataTypeCreate
ridatatypeslib
DataTypeCreate without a tag list returns 0 when no file is open; the original made an object of the file opened last, closed since.#601
5SystemridatatypeslibWithout datatypes.library, a program that uses the library still closes the other libraries it opened; the original left three of them open.#602
5GraphicsDataTypeModeID
ridatatypeslib
DataTypeModeID with a tag list uses the program’s tags and leaves the list unchanged; the original overwrote the list with its own tags.#603
5FilesDataTypeOpen
ridatatypeslib
DataTypeOpen takes a file name of any length; the original wrote a name of 384 characters or more over the library’s data.#604
5FilesDataTypeOpen, DataTypeClose
ridatatypeslib
DataTypeOpen of a file without a datatype returns 0 and unlocks the file; the original kept it locked, and every later DataTypeOpen failed.#605
5GraphicsDataTypesPalette
ridatatypeslib
DataTypesPalette copies at most the picture’s colours; the original filled a larger palette with the bytes behind them, and wrote far behind a palette of 0 colours.#606
5GraphicsDataTypesPalette
ridatatypeslib
DataTypesPalette returns 0 for an object without colours; the original could report success, or copy colours from a leftover address.#607
5SystemDelVarTrace
ridebuglib
DelVarTrace sends the name where the debugger reads it; the original put it four bytes further on and deleted the wrong trace or none.#610
5SystemAddVarTrace, DelVarTrace
ridebuglib
AddVarTrace and DelVarTrace with an empty name send just the empty name; the original also copied the bytes behind it in memory into the debugger’s message.#612
5SystemAddVarTrace, DelVarTrace
ridebuglib
AddVarTrace and DelVarTrace cut a name to the 251 characters the debugger’s message holds; the original copied a longer name over the library’s own code and crashed at its next command.#613
5SystemDisAssemble$
ridisasmlib
DisAssemble$ shows a displacement 0 as “0”; the original showed the bytes at address 8 instead, often nothing.#614
5SystemDisAssemble$
ridisasmlib
DisAssemble$ shows a MOVEM with an empty register list without the stray comma (“movem.l -(a7)”).#615
5SystemDisAssemble$
ridisasmlib
DisAssemble$ no longer stops a 68000 with an address error when it follows a string of odd length in an expression.#617
5StringsGetPathName, NextDevice
ridoslib
Text appended to GetPathName or NextDevice follows the result; the original left a 0 byte between and lost the last character.#618
5FilesAddNotify
ridoslib
AddNotify returns 0 when memory is short; the original wrote the file name or the request to address 0.#619
5FilesAddNotify
ridoslib
AddNotify with a slot in use ends the notification in it first; the original lost it, still active and impossible to end.#620
5FilesAddNotify
ridoslib
A notification that cannot be started is freed at once, and the program’s end frees all; the original could leave such requests allocated.#621
5FilesDeviceEntryType
ridoslib
DeviceEntryType after FreeDeviceList returns the kind of the last entry; the original read it from the unlocked list.#622
5SystemFreeDeviceList
ridoslib
FreeDeviceList without a locked list does nothing; the original unlocked it all the same, with a system alert.#623
5FilesGetPathName
ridoslib
GetPathName("/abc") and GetPathName(":x") return “/” and “:”; the original never looked at the first character and returned “”.#624
5FilesNextDevice
ridoslib
NextDevice without GetDeviceList returns “”; the original returned a string of random length.#625
5FilesGetFileName, GetPathName
ridoslib
GetFileName and GetPathName take parts of any length; the original overwrote its code with a part of 256 characters or more.#627
5FilesGetFileName, GetPathName
ridoslib
GetFileName and GetPathName work with paths of 65536 characters or more; the original read only the low word of the length.#628
5Data structuresDecrypt
riencryptlib
Decrypt with mode 1 restores the data for every start position and length; the original added the length without the carries between the wheels and often left the data scrambled.#629
5Data structuresEncrypt, Decrypt
riencryptlib
Encrypt and Decrypt with a length of 0 change nothing; the original changed one byte, Decrypt the one in front of the block.#630
5Numbers & datesConvToPostFix
rievallib
ConvToPostFix stops at the end of an expression that ends in .; the original went on converting the memory behind it.#631
5Numbers & datesConvToPostFix
rievallib
ConvToPostFix keeps a foreign character in its operand, so PFEvaluate reports it; the original dropped it and split the operand, so 1,2 gave 2.#632
5Numbers & datesConvToPostFix
rievallib
ConvToPostFix takes a - after an operator and a space, as in 4* -2, for a sign; the original made it a subtraction without a first value.#633
5Numbers & datesPFEvaluate
rievallib
PFEvaluate reports error 4 for a number with a character that is no digit of its base, such as 12x or %2; the original returned a meaningless value.#634
5Numbers & datesPFEvaluate
rievallib
PFEvaluate reports error 4 for an expression that leaves more than one value, such as 1 2; the original returned the last value without an error.#635
5Numbers & datesPFEvaluate
rievallib
{address}.b and {address}.w in PFEvaluate read only the byte or word, also at an odd address on a 68000; the original read a long there and crashed.#636
5Numbers & datesPFEvaluate
rievallib
A register inside {}, such as {d0}, works in PFEvaluate; the original mostly failed with “No close bracket on indirect!”.#637
5Numbers & datesPFEvaluate
rievallib
< in PFEvaluate is “less than” with sign, as documented; the original’s was “less than or equal” without sign, so 2 2 < was true and -1 1 < false.#638
5Numbers & datesPFEvaluate
rievallib
* and ^ in PFEvaluate give the low 32 bits of a product that overflows; the original also got its low word wrong.#639
5Numbers & datesPFErrorText
rievallib
PFErrorText without an error returns “”; the original could return a string of 64 KB or more, depending on what a register held.#640
5Numbers & datesPFEvaluate
rievallib
^ in PFEvaluate is the integer power, so 3^0 is 1 and 0^5 is 0; the original returned the base for the exponents 0 and below, 1 for the base 0, and counted only 16 bits of the exponent.#641
5Numbers & datesPFEvaluate
rievallib
PFEvaluate accepts only d0 to d7, a0 to a7 and pc as registers and reports error 4 for others; the original read any character after a or d as the register number, up to and behind the end of the string.#642
5Numbers & datesPFEvaluate
rievallib
Negative hexadecimal and binary numbers, such as -$10 and -%1, have their value in PFEvaluate; the original read $ and % after a - as decimal digits.#643
5Numbers & datesPFEvaluate
rievallib
PFEvaluate of a string of spaces returns 0 with error 4; the original returned an address in the program.#644
5Numbers & datesPFEvaluate
rievallib
PFEvaluate works with 128 or more values pending; the original failed every operator from then on with “Need 2 arguments for expression!”.#645
5SystemPutSerial, GetSerial, SyncPut, SyncGet
rifastseriallib
A block of 0 bytes transfers nothing; the original took it for 4 GB.#646
5SystemInitSerialIO, SetIOSpeed
rifastseriallib
InitSerialIO and SetIOSpeed no longer crash on a 68000; the original used a 68020 instruction.#647
5SystemFinitSerialIO
rifastseriallib
FinitSerialIO writes the interrupt register of the chips, no longer the address $9A in low memory.#648
5SystemFinitSerialIO
rifastseriallib
FinitSerialIO and the end of the program switch the serial interrupts back on, so serial.device works again.#651
5SystemDoSerialIO, GetSerial, SyncSerial, SyncPut, SyncGet, CheckSerial
rifastseriallib
These commands do nothing before InitSerialIO; the original ran them, DoSerialIO with buffers at address 0.#652
5SystemInitSerialIO, SetIOSpeed
rifastseriallib
The library is set up at every baud rate from 109 to 3546895 and refuses others; the original stayed unset from 1773448 baud and divided by zero for 0.#653
5SystemSetIOSpeed
rifastseriallib
SetIOSpeed takes the baud rate from its argument alone, not from the unused upper half of the register.#654
5GraphicsFNSPrint, FNSShadowPrint
rifnslib
Characters of 48 and 64 pixel fonts whose top rows lie above the clip zone are drawn correctly; the original drew them garbled.#656
5GraphicsFNSPrint, FNSShadowPrint
rifnslib
An empty text or line is neither underlined nor centred; the original set a stray underline pixel and moved a centred position far to the left.#659
5GraphicsFNSLength
rifnslib
FNSLength counts the low 4 bits of the font number, like every FNS command; the original read numbers from 16 on and negative ones from memory beside the slots.#660
5GraphicsInstallFNS, FNSLoad
rifnslib
InstallFNS and FNSLoad refuse a font of height 0, and FNSLoad a file that is no FNS font; the original took them and drew 65536 rows per character.#663
5GraphicsFNSPrint, FNSShadowPrint
rifnslib
FNSPrint and FNSShadowPrint before FNSOutput print nothing; the original crashed the machine.#665
5GraphicsFNSPrint, FNSShadowPrint
rifnslib
The underline is clipped at the left edge of the clip zone like the characters; the original clipped it at the edge of the bitmap.#667
5GraphicsClearBitmap, FadeInBitmap, ZoomyZoom
rifxlib
ClearBitmap, FadeInBitmap and ZoomyZoom read the bitmap’s depth alone; the original read it with the flags and crashed on bitmaps with flags set.#670
5GraphicsDerez, ZoomXY
rifxlib
ZoomXY works after a Derez of 3 or more; in the original such a Derez overwrote the first instructions of ZoomXY.#671
5GraphicsDerez, ZoomXY
rifxlib
After a Derez or ZoomXY with a bitmap of depth 0, the next calls count their own bitmap’s planes; in the original the count stayed wrong.#675
5GraphicsCopyColour
rigfxlib
CopyColour with a negative colour number fails and returns 0, as documented; the original copied memory up to 786 KB away and returned -1.#678
5GraphicsCPUCls
rigfxlib
CPUCls on a bitmap without a first bitplane returns without doing anything; the original crashed.#680
5GraphicsCPUCls
rigfxlib
CPUCls clears a bitplane of an odd number of bytes completely; the original left 8 pixels at the top left.#681
5GraphicsCPUCls
rigfxlib
CPUCls on a bitmap of less than 40 bytes per bitplane clears only its bitplanes; the original cleared 2.6 MB of memory below each.#682
5FilesSaveCMAP
rigfxlib
SaveCMAP writes the pad byte behind an odd number of colours, so the file is a correct IFF file; the original’s file was a byte short.#687
5FilesSaveCMAP
rigfxlib
SaveCMAP of a palette of 0 colours writes an empty colour chunk; the original wrote 192 KB behind its buffer.#688
5Gadgets & menusCreateMenuStrip, GTSetMenu
rigtmenulib
CreateMenuStrip on a list without titles, or when GadTools fails, returns 0 and leaves no strip; the original read a title from address 0 and returned -1.#689
5Gadgets & menusrigtmenulibA program that uses the GadTools menu library closes gadtools.library at its end; the original left it open.#690
5Gadgets & menusGTFreeMenu
rigtmenulib
GTFreeMenu with an item or sub item number removes that entry; the original could remove the whole item or title, depending on a register.#691
5Gadgets & menusGTMenuItem
rigtmenulib
GTMenuItem with UserData gives the item its own mutual exclude mask; the original took the mask of the entry added before.#692
5Gadgets & menusGTMenuItem, GTSubItem
rigtmenulib
A menu shortcut whose text lies at an address divisible by 65536 is kept; the original dropped it.#694
5Gadgets & menusGTFreeMenu, GTMenuList
rigtmenulib
GTFreeMenu and freeing a GTMenuList free the title texts too; the original lost their memory until the program ended.#695
5GraphicsIPColour
riintuilib
IPColour -1,bgpen sets the background pen of the Rast in use; the original wrote it into the program’s memory instead.#696
5GraphicsIPOutput, IPLocate
riintuilib
Text printed through IPOutput starts at the position of IPLocate and goes on after the text before; the original drew every text over the last one in the top left corner.#697
5GraphicsIPOutput
riintuilib
A text of 1024 characters or more printed through IPOutput is drawn whole; the original overwrote the pens of the next text and the library’s memory.#698
5GraphicsIPOutput, NPrint
riintuilib
NPrint through IPOutput starts a new line; the original drew a byte from low memory instead.#699
5SystemD_HexWord, D_CheckNMove, D_CheckNMoveA, D_CheckNMoveWord, GetDataItem
rilesdebuglib
D_HexWord and the D_CheckNMove commands write nothing for a count of 0, and GetDataItem reads a long for every size but 1 and 2; the original ran 65536 times (over 300 KB written) and read 64 KB.#701
5SystemGetCustomReg, GetCustomRegAdr
rilesdebuglib
GetCustomReg and GetCustomRegAdr know the last register, $1FE NOOP; the original stopped at $1FC.#702
5StringsExtractLabel
rilesdebuglib
ExtractLabel gives an empty label for a line without a .; the original searched on through the memory behind the line.#703
5GraphicsFPrintDetoke
rilesdebuglib
The > marker of FPrintDetoke is never followed by an inverse space; the original drew one when its column counter ran round to 0.#708
5GraphicsFPrintDetoke
rilesdebuglib
With FInverse on, FPrintDetoke draws token names into the second bitplane with the right characters; the original drew other characters there.#709
5GraphicsFPrint
rilesdebuglib
FPrint prints a string of 32769 characters or more; the original printed nothing.#710
5SystemGetCopIns$
rilesdebuglib
GetCopIns$ shows odd high digits of the positions and masks of WAIT and SKIP ("(30,2C)", not “(20,2C)”).#711
5StringsGetCustomReg
rilesdebuglib
GetCustomReg of a register with an 8-character name returns just that name; the original added a character and broke the string expression behind it.#712
5SystemGetCustomReg
rilesdebuglib
GetCustomReg of an offset above the last register gives an empty name; the original read a name from in front of its table of names.#714
5StringsD_InitParse
rilesdebuglib
D_InitParse takes at most 255 characters; the original overwrote the memory behind its buffer.#716
5SystemD_HexWord, D_CheckNMoveA, D_CheckNMoveWord, GetDataItem
rilesdebuglib
Addresses from $80000000 on are no longer shown as low memory (*, or 0 from GetDataItem); the original took them for addresses below $420.#717
5StringsPeekMax$
rilesdebuglib
PeekMax$ returns at most the number of characters asked for; the original wrote one more and broke the string expression behind it.#718
5StringsProcessString
rilesdebuglib
ProcessString without a parser position returns an empty string; the original read the text at address 0.#719
5StringsProcessString
rilesdebuglib
A % at the end of the text of ProcessString ends it; the original read on behind the text.#720
5SystemSearchMem
rilesdebuglib
SearchMem with an empty search string finds nothing; the original compared the bytes behind the string with memory.#721
5SystemSearchMem
rilesdebuglib
The word and long searches of SearchMem no longer find a value that runs past the end address.#722
5SystemSearchMem
rilesdebuglib
The string search of SearchMem finds ab in aab; the original missed a match that began inside a partial match.#723
5Data structuresAddFirstListItem
rilinkedlistlib
AddFirstListItem links the old first item back to the new one; the original cut the list behind it and made the two items point to each other.#724
5Data structuresAddFirstListItem
rilinkedlistlib
AddFirstListItem returns -1 on success; the original returned four times the list number, so 0, the failure result, on list 0.#725
5Data structuresAddFirstListItem
rilinkedlistlib
AddFirstListItem clears the new item; the original left whatever the memory held in its links, copy and size.#726
5Data structuresAddListItem
rilinkedlistlib
AddListItem in the middle of a list links the item behind back to the new one; in the original, PrevListItem from there skipped it.#727
5Data structuresDelListItem
rilinkedlistlib
DelListItem of the first item keeps the rest of the list; the original ended the list at the new first item.#728
5Data structuresDelListItem
rilinkedlistlib
DelListItem frees the item with its copy; the original freed a wrong address and stopped with “Unable to Free Memory”.#729
5Data structuresGetListItem
rilinkedlistlib
GetListItem copies no more bytes than the item’s copy has into a larger variable; the original added the bytes behind the copy.#730
5Data structuresInitList
rilinkedlistlib
InitList on a list in use frees the old list first; the original lost it until the program ended.#731
5Data structuresrilinkedlistlibOn a list never started with InitList, the commands do nothing and return 0; the original read and wrote memory from address 0 on.#733
5Data structuresSetListItem
rilinkedlistlib
SetListItem frees the copy the item held before; the original lost it until the program ended.#734
5Data structuresAddListItem, SetListItem
rilinkedlistlib
The size an item keeps of its copy is right after AddListItem and SetListItem; the original stored the size of another variable or kept the old one.#735
5Gadgets & menusRetrieveCallHook
rilvcallhooklib
The tree lines of an indented listview item depend on its indent alone; the original drew none, or 65536 lines, depending on a register.#737
5Gadgets & menusRetrieveCallHook
rilvcallhooklib
After an indented item the listview hook puts the RastPort’s line pattern back; the original left it solid, or dotted after an item without tree lines.#738
5Gadgets & menusRetrieveCallHook
rilvcallhooklib
The last tree line of an item is short when the next item has a smaller indent; the original read an unrelated word of the next node and could crash a 68000.#739
5Gadgets & menusRetrieveCallHook
rilvcallhooklib
A right-aligned bitmap in a listview item is drawn at the right edge of its field; the original drew it too far to the right.#740
5Gadgets & menusRetrieveCallHook
rilvcallhooklib
A listview text field whose pointer is 0 stays empty; the original showed the bytes at address 0.#742
5StringsProgPath$, ProgDir$, ProgName$, DefaultFontName
rimisclib
Text appended to ProgPath$, ProgDir$, ProgName$ or DefaultFontName follows the result; the original left a 0 byte between and lost the last character.#743
5InputASCRaw, RawASC
rimisclib
ASCRaw of a code outside its table gives the character 0, RawASC of a character no key types -1; the original read beyond its table or searched for ever.#744
5SystemDefaultFontHeight, DefaultFontName
rimisclib
DefaultFontHeight and DefaultFontName return 0 or "" for a font type the preferences do not set; the original could return leftover data behind the file.#745
5Windows & screensEZRequestArgs
rimisclib
EZRequestArgs with a shorter text than the call before shows only its own; the original kept the end of the text before.#747
5Windows & screensEZRequest, EZRequestArgs
rimisclib
Float arguments of EZRequest and EZRequestArgs are converted by the library; the original called the maths library through whatever base the program held.#749
5Windows & screensEZRequest, EZRequestArgs
rimisclib
Negative Quick and Float arguments of EZRequest and EZRequestArgs show their whole part, -3.5 as -3; the original showed 65532.#750
5StringsFlip$
rimisclib
Flip$ of an empty or one-character string returns it unchanged; the original exchanged 65536 byte pairs around it.#751
5InputInitArgParse
rimisclib
InitArgParse copies at most 255 characters and cuts off the rest; the original overwrote the library’s code with a longer line.#752
5StringsNextArgChar$
rimisclib
NextArgChar$ before InitArgParse or after the end returns “”; the original read from address 0.#754
5InputNextArg$
rimisclib
NextArg$ ends a quoted word at its closing quote after a doubled quote ""; the original ran on to the next quote, merging arguments.#755
5SystemOpenFontPrefs
rimisclib
OpenFontPrefs returns 0 when memory is short; the original read the file to address 0.#756
5SystemOpenFontPrefs
rimisclib
A second OpenFontPrefs frees the memory of the first; the original lost 16 KB each time.#757
5FilesProgPath$
rimisclib
ProgPath$ of a program whose directory name cannot be found is its name alone; the original put a “/” in front.#758
5Windows & screensWorkbenchHere
rimisclib
WorkbenchHere searches the system’s screens; the original searched a list at whatever address a register held.#759
5Windows & screensWorkbenchHere
rimisclib
WorkbenchHere finds “Workbench” anywhere in a title; the original missed it behind another “W”.#760
5Windows & screensWorkbenchHere
rimisclib
WorkbenchHere returns 0 when no screen title contains “Workbench”; the original ran past the end of the screen list and could hang.#761
5Windows & screensWorkbenchHere
rimisclib
WorkbenchHere no longer hangs on a title that ends with the start of “Workbench”, such as “My Work”.#762
5SystemStoreNVData
rinonvolatilelib
StoreNVData stores items of 655360 bytes or more with their whole length; the original stored them as a few bytes without an error.#764
5GraphicsUnpackIFF, ILBMPalette
ripacklib
UnpackIFF and ILBMPalette find the chunks by walking the file, also behind large chunks; the original searched raw data within about 5 KB.#766
5FilesDeIce
ripacklib
DeIce’s picture mode converts the number of groups stored in the data, at most the unpacked data; the original wrote over 120 KB below it.#767
5FilesPackPBM
ripacklib
PackPBM returns -1 for data that does not pack smaller; the original first filled the destination with bytes unpacked from low memory.#772
5GraphicsUnpackIFF
ripacklib
UnpackIFF unpacks uncompressed pictures; the original decoded every picture as ByteRun1.#773
5GraphicsUnpackIFF
ripacklib
UnpackIFF unpacks pictures wider than 1024 pixels; the original skipped their rows or read them out of step.#774
5GraphicsUnpackIFF
ripacklib
UnpackIFF cuts a ByteRun1 run at the end of the row; the original wrote it into the next row or behind the plane.#776
5GraphicsUnpackIFF
ripacklib
UnpackIFF refuses a picture with 0 planes; the original took it as 256 planes and overwrote its own code.#777
5FilesUnPackPBM
ripacklib
UnPackPBM writes nothing past destlength and reads nothing past the packed data; the original wrote and read one byte too many.#778
5SystemriregistrylibA program run again from the editor no longer works on the registry structure the run before had unlocked at its end.#779
5SystemGetLibraryValue$, GetRegistryStringVariable
riregistrylib
GetLibraryValue$ and GetRegistryStringVariable without a locked structure return “”; the original read near address 0.#780
5SystemLockRegistry, UnlockRegistry
riregistrylib
UnlockRegistry without a lock does nothing and a 16th nested LockRegistry returns 0; the original wrote outside its list of locks and, without registry.library, crashed after a few pairs.#781
5SystemSetRegistryVariable, SetRegistryIntVariable, SetRegistryBoolVariable
riregistrylib
SetRegistryVariable name,value$ passes the string’s length as the size, the integer and boolean forms 4; the original passed whatever a register held.#782
5StringsGetLibraryValue$, GetRegistryStringVariable, ParseItemName$, ParseItemValue$
riregistrylib
Text appended to the string functions of the registry library follows the result; the original left a 0 byte between and lost the last character.#783
5StringsReqFileRequest
rireqlib
Text appended to ReqFileRequest follows the result; the original left a 0 byte between and lost the last character.#784
5FilesReqFileRequest
rireqlib
ReqFileRequest returns the file the user chose; the original never gave the requester its buffers and returned only what the program had written itself.#785
5Windows & screensReqColour
rireqlib
ReqColour opens the colour requester on the colour it is given (together with the fix of #1091); the original always started on colour 0.#786
5FilesReqFileRequest, ReqColour
rireqlib
Without req.library, ReqFileRequest returns an empty string and ReqColour 65535, the same as when the user cancels; the original crashed.#788
5FilesReqFileRequest
rireqlib
A ReqFileRequest title is for that call only; in the original a later call without a title showed whatever text was left in its memory.#789
5SystemSerialClose
riseriallib
SerialClose restores only the library’s serial interrupts; the original switched every other interrupt back to its state at SerialOpen.#790
5SystemSerialSendString, SerialReadString
riseriallib
SerialSendString and SerialReadString open the port when it is closed; the original sent nothing or waited for ever.#793
5SystemSerialReadLong
riseriallib
SerialReadLong returns the long, low byte first; the original read for ever.#794
5StringsSerialReadString
riseriallib
Text appended to SerialReadString follows the result; the original left a 0 byte between and lost the last character.#795
5SystemSerialReadString
riseriallib
SerialReadString with the port open returns to the program; the original jumped to a wrong address.#796
5SystemSerialRead, SerialWait
riseriallib
SerialRead and SerialWait return just the byte, 0 to 255, or -1.#797
5SystemSerialReceiveBlock
riseriallib
SerialReceiveBlock with a length of 1 receives one byte; the original never ended and wrote past the buffer.#799
5SystemSerialSendBlock
riseriallib
SerialSendBlock with a length of 0 or less sends nothing; the original sent one byte.#800
5SystemSerialSendString
riseriallib
SerialSendString sends the string, without a 0 byte; the original sent the low byte of its address.#801
5SystemSerialStop, SerialReceiveBlock
riseriallib
SerialStop during SerialReceiveBlock returns to the program; the original jumped to a wrong address.#803
5SystemSerialOpen
riseriallib
SerialOpen installs its interrupts where the vector base of a 68010 or later points; the original’s were never called with a moved table.#804
5SystemSerialWriteLong
riseriallib
SerialWriteLong sends the four bytes of its argument, low byte first; the original sent one byte and three times 1.#805
5GraphicsLELoadShapes, LECludgeShapes
rishapeslib
LELoadShapes and LECludgeShapes replace a shape linked by an earlier LECludgeShapes like any other; the original read wrongly, left the file open and crashed.#807
5GraphicsCludgeShapes, CludgeShapesToAddress
rishapeslib
CludgeShapes takes a shape in memory whose data size is 0 as empty; the original copied 64 KB for it and overwrote memory.#808
5GraphicsCludgeShapes, CludgeShapesToAddress
rishapeslib
CludgeShapes reads the shapes behind an empty shape in memory from the right place; the original skipped by the size of the shape before it.#809
5GraphicsLELoadShapes, LECludgeShapes, LEInitShape
rishapeslib
LELoadShapes, LECludgeShapes and LEInitShape free the cookie of the shape they replace; the original used up chip memory with every reload.#810
5GraphicsLECludgeShapes
rishapeslib
LECludgeShapes finds the shapes of LE files with a longer header chunk or a padded palette chunk; the original missed them.#811
5FilesLESaveShapes
rishapeslib
LESaveShapes writes the palette whenever one is given; the original’s choice depended on the flags the system’s write routine left.#814
5FilesLESaveShapes
rishapeslib
LESaveShapes takes the shape count from the lower 16 bits of the shape numbers; the original also used the upper bits of a long value.#815
5FilesLESaveShapes
rishapeslib
Files written by LESaveShapes give the right IFF length; the original’s was 8 too large or counted the palette of an earlier save.#816
5FilesLESaveShapes
rishapeslib
LESaveShapes asks for 12 bytes for its shape header; the original could ask for up to 4 GB.#817
5GraphicsLELoadShapes, LECludgeShapes
rishapeslib
Loading LE shapes with a palette chunk shorter than one colour leaves the palette as it is; the original wrote 768 KB over memory.#820
5FilesLESaveShapes
rishapeslib
LESaveShapes with a palette of 0 colours writes no palette; the original overwrote 192 KB of memory.#823
5Data structuresrisortlibA program with risortlib no longer crashes at its end on Kickstart 1.x, where utility.library does not exist.#824
5Data structuresStringSort, StringSortItem
risortlib
StringSort and StringSortItem without SortPriorityOffset no longer stop a 68000 with an address error.#825
5Data structuresStringSort, StringSortItem, SortPriorityOffset
risortlib
StringSort and StringSortItem with SortPriorityOffset sort the list by priority; the original left it unsorted.#826
5Data structuresStringSort, StringSortItem
risortlib
StringSort and StringSortItem with a size of 0 exchange nothing and return 0; the original exchanged 65536 bytes each time and overwrote the memory behind the items.#827
5SoundCludgeSound
risoundlib, risoundlib2
CludgeSound finds the sample data behind a chunk of odd length with its IFF pad byte; a file without pad bytes no longer loads.#828
5SoundCludgeSound
risoundlib, risoundlib2
CludgeSound copies a sample of up to 128 KB completely, and an empty or longer one gives 0; the original cut samples of 64 KB or more and overwrote memory for an empty one.#829
5SoundCludgeSound
risoundlib, risoundlib2
CludgeSound returns 0 for an 8SVX file with a sample rate of 0; the original hung.#830
5SoundCludgeSound
risoundlib, risoundlib2
A CludgeSound that fails leaves the sound as it was; the original left it pointing to freed memory, and the next call stopped with “Unable to Free Memory”.#831
5SoundCludgeSound
risoundlib, risoundlib2
CludgeSound reads the sample rate from the rate field of the header, whatever its length; the original was right only for a header of 20 bytes.#832
5FilesSTCDecrunch, STCLoad
ristcdecrunchlib, ristonecrackerlib
STCDecrunch and STCLoad write nothing below the destination for damaged StoneCracker data and return 0; the original wrote into the memory below.#833
5Systemristonecrackerlibristonecrackerlib closes dos.library at the end of the program; the original left its open count one higher after every run.#834
5FilesSTCLoad
ristonecrackerlib
STCLoad releases the file’s lock once; the original released it a second time after closing the file, on every load that worked.#835
5FilesSTCLoad
ristonecrackerlib
STCLoad returns 0 for a file that is not wholly a StoneCracker 4.04 file or cannot be read; the original unpacked it and wrote outside the buffer.#836
5SystemrithreadlibAt its end, a program waits until no thread runs any more; the original could end while threads started after an earlier “all ended” still ran in its freed code.#837
5SystemCreateThread
rithreadlib
Two CreateThread in a row start each thread with its own code, registers and memory; the original could run the second one’s code twice.#838
5SystemCreateThread
rithreadlib
The end of a program frees the library’s signal; with the original, CreateThread did nothing after 15 runs from the editor or the same shell.#839
5FilesSetToolValue, NewToolType, IconDefTool
ritooltypeslib
SetToolValue, NewToolType and IconDefTool free their new string and return 0 when the icon’s free list cannot take it; the original freed address 0.#840
5FilesSetToolValue, NewToolType
ritooltypeslib
SetToolValue and NewToolType with an empty name make the tool type =value; the original copied the bytes behind the name into it.#841
5FilesFindToolType
ritooltypeslib
FindToolType with bracket_check takes a name of any length; the original wrote a name over 253 characters behind its buffer.#842
5FilesFindToolType
ritooltypeslib
FindToolType with one argument never finds a switched-off (name); the original did after an earlier call with bracket_check.#843
5FilesFindToolValue
ritooltypeslib
FindToolValue returns the whole value, also with a ) in it; the original cut it at the first ).#844
5GraphicsIconToShape
ritooltypeslib
IconToShape copies only the data the shape has room for; the original wrote one word per line behind it for a width that is a multiple of 16.#847
5FilesPutIconObject
ritooltypeslib
PutIconObject frees the icon it has written; the original kept its memory until the next reboot.#850
5FilesSetIconType
ritooltypeslib
SetIconType without a loaded icon returns 0; the original returned its argument.#852
5GraphicsShapeToIcon
ritooltypeslib
ShapeToIcon with two shapes makes the selected image show the shape’s bitplanes; the original showed none of them.#854
5FilesGetIconObject, NewToolType
ritooltypeslib
An icon can have any number of tool types; the original wrote behind its list of 100 entries.#855
5SystemBootProg
ritrackdisklib
BootProg stores the checksum Kickstart checks, so the disk boots; the original’s checksum was wrong.#856
5SystemFormatTrack, WriteBoot
ritrackdisklib
FormatTrack without a count formats one track and WriteBoot writes the boot block; with the original the device refused both. The count stays in sectors, 11 per track.#858
5SystemOpenDisk
ritrackdisklib
A device name of 57 characters or more no longer overwrites the library’s data.#860
5SystemOpenDisk
ritrackdisklib
OpenDisk with a negative unit returns 0; the original opened the device and lost the request.#861
5SystemOpenDisk
ritrackdisklib
OpenDisk of a unit that is open returns 0 and leaves it alone; the original opened it again and lost the first request.#862
5SystemritrackdisklibThe end of a program closes unit 3 too, and a second run starts with all units closed; the original left unit 3 open.#863
5SystemWriteBoot
ritrackdisklib
WriteBoot unit,bootdata writes the data at bootdata; the original wrote from an address left in a register.#864
5SystemWriteBoot
ritrackdisklib
WriteBoot unit writes a bootable standard boot block; the original wrote 8 bytes of a boot block and 1016 bytes of unrelated memory.#865
5SystemFreeZoneTable
rizonejoylib
FreeZoneTable removes the freed table from the library’s list; the original left it there, and the end of the program freed it a second time.#868
5InputGetZoneX1, GetZoneY1, GetZoneX2, GetZoneY2
rizonejoylib
GetZoneX1 to GetZoneY2 return a zone’s values also in tables of up to 6 zones, and -1 for a zone beyond the table or without a table; the original returned -1 there and read behind the table.#870
5SystemrizonejoylibA program run again from the editor starts with zone table 0 alone; the original found the freed tables of the run before and freed them again.#871
5InputNewZoneTable, UseZoneTable, FreeZoneTable
rizonejoylib
NewZoneTable, UseZoneTable and FreeZoneTable refuse a negative table number; the original took -1 for an entry in front of its list and freed or chose the wrong table.#872
5InputZoneInit, SetZone
rizonejoylib
ZoneInit and SetZone refuse a negative zone number; the original wrote in front of the zone table.#873
5SystemNewZoneTable
rizonejoylib
NewZoneTable without memory for a table that replaces another leaves no freed table to choose; the original kept the freed one in its list.#874
5InputSetZone, ZoneTable
rizonejoylib
Without memory for zone table 0, SetZone returns False and ZoneTable 0; the original returned -1 for both.#876
5InputSetZone, ZoneInit
rizonejoylib
SetZone and ZoneInit reach every zone of a table with more than 8192 zones; in the original, zone n was zone n modulo 8192.#878
5InputZone, ZoneTest
rizonejoylib
In the 68000 mode, Zone and ZoneTest find points in zones more than 32767 pixels wide or high; the original missed them.#879
5InputZoneTest
rizonejoylib
ZoneTest from zone 256 on tests the zones it names; the original tested zone n modulo 256 under the right numbers.#881
5Data structuresFillArray
riarrayslib
FillArray on an array without elements writes nothing; the original wrote on through all memory.#882
5GraphicsChunkyToPlanar
richunkylib
ChunkyToPlanar checks the bitmap’s depth alone; the original read it with the flags, wrote 8 planes into smaller bitmaps or refused depth 8.#883
5GraphicsChunkyToPlanar
richunkylib
ChunkyToPlanar converts chunky bitmaps of other sizes, widths a multiple of 16, into any 8-plane bitmap at least as big, also interleaved; the original always converted 320 x 256 and wrote behind smaller bitmaps.#884
5SystemChunkyBitmap
richunkylib
ChunkyBitmap frees the data a chunky bitmap holds also below address 65536; the original lost it there, and after a failed allocation kept the old address in the object.#885
5GraphicsChunkyBitmap
richunkylib
Freeing a chunky bitmap leaves the audio filter and power LED as they are; the original toggled them.#886
5GraphicsInitView
ridisplaylib
InitView returns 0 without enough chip memory; the original wrote its list over address 0 and freed address 0 at the end.#888
5GraphicsInitView
ridisplaylib
InitView writes the display window and data fetch moves into its copper list; the original wrote words read from low memory and crashed a 68000.#889
5GraphicsInitView
ridisplaylib
InitView sizes its copper list by the number of colours, as a long; the original used the height instead, as a word.#890
5SystemInitView
ridisplaylib
The copper lists of all InitView calls are freed at the end of the program, also without graphics.library 39; the original freed only the last one.#891
5GraphicsMapCanDraw, MapDataAdr
rimapeditorlib
MapCanDraw refuses negative positions, and with runtime error checking MapDataAdr outside the map stops with a runtime error; the original read and returned a word far behind the map.#892
5SystemCreateMap
rimapeditorlib
CreateMap frees the map the object held wherever its data lie; the original lost a map whose data began at a multiple of 65536.#894
5StringsM_InitParse
rimapeditorlib
M_InitParse takes at most 255 characters; the original overwrote the library’s data and code with a longer text.#897
5GraphicsMapDataGrab
rimapeditorlib
MapDataGrab of bytes gives each cell its byte plus mapnull; the original carried a value above 255 into all following cells.#898
5StringsMapObjName$
rimapeditorlib
MapObjName$ returns names of 256 characters or more whole; the original returned the length modulo 256.#899
5GraphicsAddGroupMember
rimapshapeslib
AddGroupMember before the first ResetGroup adds to the empty group; the original wrote over the pointer to exec at address 4.#901
5GraphicsBlitGroup
rimapshapeslib
BlitGroup calls the graphics library itself; the original called whatever library the command before had left in the register.#902
5SystemResetGroup, AddGroupMember, BlitGroup
rimapshapeslib
Without memory for the group, the group commands do nothing; the original wrote the group at address 0.#905
5GraphicsLDoSnowActivate
risnowlib
LDoSnowActivate before the first LDoSnow of a field no longer writes to address 0.#908
5GraphicsLDoSnowActivate
risnowlib
A second LDoSnowActivate before the next LDoSnow keeps the flakes the first one released; the original overwrote them.#909
5GraphicsLDoSnow
risnowlib
LDoSnow takes the bit of a new flake modulo 8; in the original a bit above 7 made the flake jump through memory.#910
5SystemInitSnowDrop
risnowlib
A repeated InitSnowDrop of the same field frees the old lists; the original lost their memory until the end of the program.#911
5GraphicsInitSnowDrop
risnowlib
InitSnowDrop with 1024 points or more allocates enough memory for its lists; the original’s block was far too small and the lists were written behind it.#912
5GraphicsLDoSnow, LDoSnowActivate, KillPoint
risnowlib
The snow lists no longer overflow into each other: a full list takes no new flake, released flake or removed pixel.#914
5GraphicsChangeWBSprite
riwbspritelib
ChangeWBSprite frees the new sprite image when the system refuses the change; the original lost a block of chip memory each time.#915
5SoundOpenAHI, CloseAHI, PlaySoundAHI, PlayRawAHI
risoundlib2
PlaySoundAHI and PlayRawAHI play through AHI and CloseAHI closes the device; in the original they did nothing, and the device stayed open.#924
5SoundCludgeSound
risoundlib2
CludgeSound of the second sound library clears the DecodeSound mark, so its copy of the sample is freed; the original never freed it.#925
5SoundCludgeSound, PlaySoundAHI
risoundlib2
CludgeSound of the second sound library no longer writes into the next sound object; PlaySoundAHI takes the pitch from the period.#926
5SoundOpenAHI, CloseAHI
risoundlib2
OpenAHI works after CloseAHI; the original wrote to address 48 and called the device without a request.#927
5SoundAHIOutputRequest
risoundlib2
AHIOutputRequest with 1, 2 or 4 arguments passes them to the requester; the original ran the code of another form.#928
5SoundAHIOutputRequest
risoundlib2
AHIOutputRequest opens AHI’s requester on the screen the program uses.#929
5SoundAHIOutputRequest
risoundlib2
AHIOutputRequest frees its requester again; the original made a new one for every call.#930
5SoundAHIOutputRequest
risoundlib2
AHIOutputRequest gives the requester the position, size, mode and frequency it is called with; the original wrote them into the wrong places.#931
5SoundPlaySoundAHI
risoundlib2
PlaySoundAHI plays the whole sample, not its first half.#932
5SoundPlaySoundAHI, PlayRawAHI, CloseAHI
risoundlib2
A new PlaySoundAHI, CloseAHI or the end of the program stops the sound that plays; the original sent the request again while AHI still held it.#933
5SoundAHIRequestedID, AHIRequestedFreq
risoundlib2
AHIRequestedID and AHIRequestedFreq return what the user chose in the requester; the original returned its initial values.#934
5CompilerDim List
Compiler
A List array indexed by an element of another array reads the right element; the original used a wrong element size.#937
5CompilerCompilerObjects 32 KB or more into their table are addressed correctly with a raised object maximum; the original addressed memory before the table.#939
5SystemritrackdisklibPrograms that use the floppy library start on Kickstart 1.x; the original called functions of Kickstart 2.0 and crashed at the start.#941
5CompilerMacro
Compiler
A one-line macro with a colon right after its name, Macro a:1:End Macro, expands to 1; the original kept the colon in the text.#942
5CompilerCompilerVery large executables with very many relocations load on AmigaOS 2.0 and later; the original wrote one relocation block that did not load.#943
5SoundCludgeSound
risoundlib, risoundlib2
CludgeSound on a sound DecodeSound made from chip memory leaves that memory alone; the original stopped with “Unable to Free Memory”.#945
5SoundCDStatus
ricompactdisclib
CDStatus no longer lets the device write 8 bytes behind the library, which ended the program with an alert on Workbench 3.1.#948
5GraphicsCustomChunky, DisplaySprite
displaylib
CustomChunky with a split position keeps the sprite resolution of the copper list; with the original, DisplaySprite then put high resolution sprites too far left.#949
5SoundDiskPlay
audiolib
A DiskPlay that cannot open or read its file frees its chip memory buffer; the original lost it until the program ended.#950
5Gadgets & menusSelectMode
gadgetslib
SelectMode 1 gives new gadgets a box as their highlight; in the original SelectMode had no effect.#952
5SystemLoadShapes, SaveShapes, LoadShape
shapeslib
Without runtime error checking, the shape file errors such as “Can’t open Shapes File” carry their text; the original’s message pointed behind the library.#953
5SystemLoadSprites, SaveSprites
spriteslib
Without runtime error checking, the sprite file errors such as “Can’t open Sprites file” carry their text; the original’s message pointed behind the library.#954
5SystemLoadBlitzFont, BitMapOutput
fontlib
Without runtime error checking, the font errors such as “Can’t Open Font” carry their text; the original’s message pointed behind the library.#955
5SystemmemlibWithout runtime error checking, “Out of Memory!” and “Unable to Free Memory” carry their text; the original’s message pointed behind the library.#956
5SystemLoadModule
trackerlib
Without runtime error checking, LoadModule reports “Error Accessing Module File” with its text; the original’s message pointed behind the library.#957
5CompilerCompilerAmigaOS function calls with an argument in register a4 or a5 keep the program’s variables; the original crashed or destroyed them.#958
5SystemCachePreDMA_, CachePostDMA_
execlib
CachePreDMA_ and CachePostDMA_ pass their flags to the system; the original passed them in the wrong register, so the system got a random value.#959
5CompilerSupervisor_
Compiler
Supervisor_ compiles; the original gave “Syntax Error” because it looked the name up in the dos library.#960
5Gadgets & menusGTFreeGadget
gtlib
After GTFreeGadget of the last gadget of a list, the next gadget joins the list; in the original it was linked to the freed one and neither shown nor freed.#962
5CompilerMacro
Compiler
An error inside a macro definition is shown; the original could crash the compiler freeing a macro text it never set.#965
5CompilerCompilerA ~ inside a string literal is an ordinary character; the original evaluated ~...~ there as a constant expression, so "a~1+2~b" became a3b.#966
5CompilerMacro, End
Compiler
A macro line ending in End keeps the rest of the macro and of the calling line, as in AmiBlitz3; the original cut both off.#968
5CompilerEven, Ds
Compiler
Pad bytes from Even, alignment and Ds are zero; the original filled them with random bytes.#969
5CompilerCompilerCREATE RESIDENT writes the same file each time, with unused bytes zero; the original wrote bytes it never set.#970
5CompilerAddBox
Compiler
A string addition nested seven levels deep, or in a late register argument such as the text of AddBox, gets the right length; the original’s was wrong.#971
5CompilerCompilerA constant defined without a value, a line #c alone, is 0; the original gave it a random value.#972
5CompilerGoto, Gosub
Compiler
A jump to a label named like a constant of value 0 is “Label has been used as a Constant”; the original gave a nonsense error or touched random memory.#977
5CompilerCompilerA Byte variable compared with a constant from 128 to 255 matches when it holds that byte; the original comparison never matched.#978
5CompilerIncBin
Compiler
A program ending with data of odd length ends normally; the original put its end code on an odd address and crashed.#979
5CompilerCompilerTED draws the compile progress bar itself, also on wide RTG screens; the original compiler wrote about 28 KB before TED’s screen memory there.#980
5Gadgets & menusMenuTitle, MenuItem, SubItem
menuslib
A menu, item or subitem with an empty text has an empty text and an empty item is as wide as its gaps; the original read the text from address 0.#981
5SystemSerialWrite, SerialSendBlock
riseriallib
SerialWrite and the block commands wait for room in the transmit buffer, so long blocks arrive complete.#983
5GraphicsFloodFill
2dlib
FloodFill with a border colour fills bitmaps wider or taller than 1024 pixels correctly; the original filled them wrongly.#986
5GraphicsChunkyVlin
polylib
ChunkyVlin with CLIP clips away a line at an x beyond the chunky width; the original drew it into other rows or behind the area.#987
5Gadgets & menusAddBox, SetBoxTitle, SetBox
blitzoslib
A list box given a text with AddBox or SetBoxTitle gets one entry per part of the text; in the original it stayed empty and SetBox always failed.#989
5Gadgets & menusGTShape
gtlib
The GTShape flags 64 (disabled) and 128 (immediate) work; in the original they had no effect.#990
5GraphicsILBMPalette
ripacklib
ILBMPalette with an offset on a palette without colours no longer writes behind the palette’s memory.#991
5CompilerCompilerA library file whose relocation data cannot be read is left out; the original used it and patched random places.#993
5CompilerSelect
Compiler
A compile error in some assignments or in Select loses no memory; the original lost its code save buffer.#994
5CompilerMacro
Compiler
A resident with a macro text of 32767 bytes or more loads correctly; the original read the definitions behind it from the wrong place.#995
5CompilerUsed
Compiler
Used gives the right object number with a raised object maximum; the original gave a wrong number from 64 KB into the object table.#998
5GraphicsLoadShapes, DecodeShapes, LoadSprites
shapeslib, spriteslib
LoadShapes, DecodeShapes and LoadSprites load the whole range with a raised object maximum; the original loaded only the first object.#999
5GraphicsPolyf
2dlib
Polyf draws polygons whose corners lie far outside the bitmap; the original drew them wrongly or not at all.#1000
5Numbers & datesDate$, NumDays
datelib
Date$ and NumDays follow the Gregorian calendar; the original made 1900, 2100 and every hundredth year a leap year, a day off per century.#1001
5GraphicsDecodePalette, LoadPalette
palettelib
A colour range of a picture cycles only when it is enabled, and backwards only when marked so; the original cycled disabled ranges and reversed unmarked ones.#1002
5Numbers & datesQAngle
vallib
QAngle gives the right angle for points 32768 or more apart; the original gave a wrong one.#1003
5GraphicsRotate
shapetrixlib
Rotate rounds to the nearest pixel, so a quarter turn of a 21×9 shape gives 9×21; the original made it a pixel too large and lost edge pixels.#1004
5EditorJOIN
TED
JOIN of two lines longer than 128 characters together keeps all the text; the original silently dropped the text behind column 128.#1005
5EditorDELETE LINE
TED
DELETE LINE on the only line, without memory for its replacement, shows the alert and keeps the line; the original left the editor on the freed line.#1006
5EditorTEDWhen the editor’s screen cannot be reopened, the editor shows the out-of-memory alert and ends with an error; the original drew into freed memory and hung.#1007
5EditorTEDWhen memory runs out or a requester cannot be opened while blitz2 starts under the editor, the editor shows its out-of-memory alert and blitz2 goes on starting; the original crashed the system.#1008
5EditorLOAD
TED
When the first line of an opened file does not fit into memory, the editor shows the alert and leaves an empty text; the original went on with the freed old text.#1009
5EditorBLOCK LOAD
TED
BLOCK LOAD at a cursor column refuses with a beep when the file’s first line does not fit; the original joined them into an over-long line that the first edit cut.#1010
5EditorTEDThe line display ends at column 128; the original wrote a wider line into the next screen row and behind the character map.#1011
5EditorBLOCK LOAD
TED
BLOCK LOAD puts the text behind the cursor on a line of its own when it does not fit; the original cut it at column 128.#1012
5EditorPRINT
TED
PRINT sends umlauts to the printer as printable characters; the original sent their internal codes 26-31, so that ö was ESC.#1017
5FilesExists
fileiolib
Exists gives -1 for every kind of directory, also a volume’s root, and 0 for a file it cannot examine; the original gave a size there.#1026
5StringsEZRequest, EZRequestArgs
rimisclib
EZRequest and EZRequestArgs in a string expression let the rest of the expression follow the result; the original wrote it over address 0 or its argument list.#1027
5StringsChangeWBSprite
riwbspritelib
ChangeWBSprite in a string expression leaves the rest of the expression where it was; the original wrote it over a tag list inside the library.#1028
5Numbers & datesNumDays
datelib
NumDays of a string too short for its day or month returns 0; the original read on into the bytes behind the string.#1029
5StringsInstr
stringfunclib
Instr with a start position near $7FFFFFFF returns 0; the original searched memory far from the string or hung.#1030
5InputPopInput, PopOutput
inputoutputlib
With runtime error checking, the first PopInput or PopOutput with nothing to undo is reported; the original let it pass and reported only the next one.#1032
5GraphicsPolyf, BitMapPoly, ChunkyPoly, RenderPoly
2dlib, polylib
Some degenerate polygons with a vertical first edge outside the bitmap are not drawn; the original stopped with a “Division by Zero” guru.#1033
5GraphicsBitMapPoly, RenderPoly
polylib
The dither form of BitMapPoly and RenderPoly takes every plane from the dither bitmap; the original read later planes from memory behind it.#1035
5GraphicsBitMap
bitmaplib
BitMap with a depth of 0 or more than 8 reports “Illegal BitMap Depth”; the original showed “No currently used object!” or an empty text.#1040
5FilesFileRequest$
freqlib
The file requester refuses a name of 64 or more characters or a path of 160 or more with “Name too long”; the original copied it and overwrote memory.#1042
5GraphicsBBlit, UnBuffer, ShowStencil
bblitlib
BBlit, UnBuffer and ShowStencil work on shapes of 32 KB or more per plane; the original stepped backwards between the planes and wrote outside the buffer.#1045
5CompilerTokeJsr, ALibJsr
Compiler
Without runtime error checking, TokeJsr and ALibJsr call a routine with an error check directly; the original went through an extra 8-byte stub.#1048
5CompilerMod
Compiler
A constant operation such as 7 Mod 3 as the first use of a library keeps that library’s relocations; the original dropped them, so a later Long or Float Mod jumped into the compiler’s freed memory and the program crashed when it was started on its own.#1049
5GraphicsDisplaySprite
displaylib
DisplaySprite switches off a sprite of a CustomSprites channel moved above or below the display; the original wrote over other copper instructions and left it visible.#1051
5GraphicsLoadShape
shapeslib
LoadShape of a picture with 0 bitplanes stops with “Illegal Shape Depth”, also without runtime error checking; the original wrote the picture behind an empty shape.#1052
5FilesLoadBitMap, LoadScreen
bitmaplib, screenslib
LoadBitMap and LoadScreen close the file before “Can’t Find IFF ‘BODY’”; the original left it open and locked until reboot.#1053
5GraphicsLoadShape
shapeslib
LoadShape of a picture of width or height 0 stops with “Illegal Shape Size”, also without runtime error checking; the original wrote the picture behind an empty shape.#1054
5SystemTaskName$, Wait
utillib
TaskName$ and Wait keep the library base register, so a line such as a=SystemDate+Len(TaskName$(0))+SystemDate no longer crashes; the original changed it.#1060
5SoundGetMedVolume, GetMedNote, GetMedInstr
medlib
The three functions no longer cut or crash a string expression such as a$="V"+Str$(GetMedVolume(0)); the original changed the pointer the string is built at.#1061
5Data structuresStatement, Function
staticslib
A procedure with three or more parameters and a local NewType variable keeps all its parameters; the original overwrote the third, and with five parameters the fifth.#1063
5Numbers & datesFrac
vallib
Frac of a Quick gives the exact fraction, also for an integer part of 256 or more, and takes a value of any numeric type; the original lost the low bits of the fraction.#1064
5FilesLoadBitMap, LoadScreen, LoadShape
bitmaplib, screenslib, shapeslib
LoadBitMap, LoadScreen and LoadShape close a file that ends inside its picture data before “Can’t Read File”; the original left it open and locked until reboot.#1065
5SoundPlayMed
medlib
The MED pattern break 1Dxx goes to line xx of the next block; the original could take a byte of another track as part of the line and play the memory behind the block.#1066
5CompilerData
Compiler
A Quick literal just below 32768, such as q=32767.9999, is the largest Quick number; the original wrapped it to -32768 and Data.q refused it.#1070
5SystemmemlibAfter a program caught “Out of Memory!” with SetErr and went on, later allocations work; in the original the next one overwrote the pointer to exec at address 4.#1071
5FilesLoadShape
shapeslib
LoadShape closes an animation file before “ANIM format not supported”; the original left it open and locked until reboot.#1072
5SystemrundebuglibA runtime error inside a SetInt routine of an executable with runtime error checking is reported with the usual requester at the program’s next statement, as the debugger does; the original hung the machine.#1073
5CompilerData
Compiler
Data.q -32768 stores the smallest Quick number; the original stopped the compile with “Bad Data”.#1074
5SystemGetDeviceList, FreeDeviceList
ridoslib
The device list is unlocked at the program’s end and before a second GetDeviceList; the original left it locked, and Assign and disk changes hung.#1081
5GraphicsShapeToIcon
ritooltypeslib
ShapeToIcon makes the icon’s image show the shape’s bitplanes; the original kept those of the old image, wrong for a shape of another depth.#1083
5SystemCreateThread, ActiveThreads
rithreadlib
CreateThread does not count a thread that could not be started, so ActiveThreads stays right; with the original, the program could hang at its end.#1086
5Numbers & datesPFRegisters, PFErrorType, PFIndirectAddr
rievallib
A program run a second time from the editor starts without the first run’s register block, error number and indirect address; the original kept all three and read the registers from freed memory.#1087
5FilesReqFileRequest
rireqlib
The file requester structure has req.library’s full size; the original’s was too short, so the requester wrote over the library’s data behind it.#1088
5FilesReqOutput, ReqFileRequest
rireqlib
A program run a second time from the editor gives the file requester no window until its own ReqOutput; the original passed the first run’s window, already closed.#1090
5Windows & screensReqColour
rireqlib
ReqColour hands req.library the colour and the ReqOutput window where the library reads them; with the original the requester started on the wrong colour and, after ReqOutput, did not open at all (it returned 16387).#1091
5FilesReqFileRequest
rireqlib
A program that uses ReqFileRequest no longer leaves req.library’s cached directory allocated when it ends.#1092
5SystemriarexxlibA program that uses the ARexx library closes rexxsyslib.library at its end; the original left it open, once more with every run.#1093
5SystemRXRunCommand, RXSendCommand, RXReplyMsg
riarexxlib
Without rexxsyslib.library nothing is sent and RXReplyMsg replies without a result string; the original crashed at the first message.#1094
5SystemRXCreatePort
riarexxlib
RXCreatePort returns 0 when a public port of that name exists; the original added a second port of the same name.#1096
5GraphicsAttachDataType
ridatatypeslib
AttachDataType with a position or a tag list returns 0 when there is no object; the original passed the object 0 to the system and returned -1.#1098
5SystemAppEvent, AppMessage, AppEventType, AppEventID
riapplib
A program run again from the editor starts without an App message; the original started with the last message of the run before and answered it a second time.#1099
5SystemRXReadPort, RXWaitPort
riarexxlib
RXReadPort and RXWaitPort leave further messages in the port while the list of received messages is full (31); the original wrote the 32nd and later ones past the list, over the list of sent messages and the memory behind it.#1100
5SystemRXDeletePort
riarexxlib
RXDeletePort and the end of the program also reply the current message; the original left its sender waiting for ever.#1101
5SystemAppLock
riapplib
AppLock returns the lock of the file that NextAppFile or AppFile read last, as the manual says; the original always returned the first file’s lock.#1103
5GraphicsILBMPalette
ripacklib
ILBMPalette refuses a CMAP without a whole colour and sizes the palette from the whole CMAP; the original wrote 65536 colours for such a CMAP.#1105
5GraphicsRIAnimInit
rianimlib
RIAnimInit returns 0 when the bitmap cannot hold the first frame; the original reported success and played into it.#1106
5GraphicsRINextAnimFrame, RIAnimFrameCount, AnimLoop
rianimlib
A program run again from the editor starts with no animation and AnimLoop on; the original played the freed animation of the run before.#1107
5FilesSetBBMapLoc, SetBBScenarioLoc
ribbmaplib
A program run again from the editor starts without the map and scenario of the run before; the original’s commands read the old files.#1108
5GraphicsLEAutoCookie, LEMaxShapeWidth, LEMaxShapeHeight, LEMaxShapeDepth
rishapeslib
A program run again from the editor starts with LEAutoCookie on and the maximum shape sizes at 0; the original kept those of the run before.#1109
5GraphicsUnpackIFF, ILBMGrab, LoadIFF
ripacklib
Pictures saved with a mask, such as DPaint brushes, are unpacked correctly; the original shifted every line from the second on.#1112
5GraphicsBBGetPalette
ribbmaplib
BBGetPalette reads only the colours the scenario’s COLR chunk holds; the original took the rest from the bytes behind it.#1113
5GraphicsRINextAnimFrame
rianimlib
RINextAnimFrame decodes ANIM7 long data at every width, except the last 16 pixels of a row with an odd number of words; the original lost the right edge of widths that are no multiple of 32 and wrote far beyond the bitmap below 32 pixels.#1115
5GraphicsRINextAnimFrame
rianimlib
RINextAnimFrame plays the frames behind a chunk between two frames, such as an ANNO; the original stopped there or started again.#1116
5GraphicsRINextAnimFrame
rianimlib
RINextAnimFrame refuses a frame whose ANHD or CMAP length points outside the frame; the original read the next chunk from anywhere in memory.#1117
5GraphicsLECludgeShapes
rishapeslib
LECludgeShapes decodes LE files with an odd number of colours on a 68000; the original crashed there and linked the shapes at an odd address on a 68020.#1118
5GraphicsRIAnimInit, RIAnimDepth, RIAnimWidth, RIAnimHeight
rianimlib
RIAnimInit refuses an ANIM in which a chunk starts at an odd address because a pad byte is missing; the original crashed with a Software Failure on a 68000.#1119
5GraphicsRINextAnimFrame
rianimlib
RINextAnimFrame refuses a frame whose DLTA plane offsets point outside the chunk; the original read the delta data from anywhere in memory.#1120
5GraphicsRINextAnimFrame
rianimlib
RINextAnimFrame refuses an ANIM7 frame whose DLTA puts a plane’s data list at an odd offset; the original crashed with a Software Failure on a 68000.#1121
5SystemFNSOutput, FNSPrint
rifnslib
A program run again from the editor starts with no bitmap, empty slots and the start settings; the original printed into the freed bitmap of the run before.#1124
5GraphicsPaletteInfo, PalRed, PalAdjust
rigfxlib
A program run again from the editor starts with no PaletteInfo palette; the original read the freed palette of the run before.#1125
5GraphicsCopperReset, ColSplitBplcon3
ricopperfxlib
A program run again from the editor starts with no custom space and ColSplitBplcon3 0; the original wrote into the freed copper list of the run before.#1126
5GraphicsInitZoomXY, ZoomXY
rifxlib
A second run from the editor starts without the bitmaps of InitZoomXY; in the original a ZoomXY before InitZoomXY zoomed with the bitmaps of the run before.#1127
5GraphicsFNSPrint, FNSShadowPrint
rifnslib
An underline wholly outside the clip zone draws nothing; the original left a pixel at the zone’s edge.#1130
5InputJAdaptorStatus
rizonejoylib
A program run again from the editor starts with the four player adaptor switched on, as documented; the original kept it off after JAdaptorStatus Off.#1132
5SystemSetStencil, ScanShapes, M_NextArg$
rimapeditorlib
A program run again from the editor starts without the stencil, ScanShapes results and parse position of the run before; the original kept them, the stencil freed.#1133
5GraphicsAddGroupMember
rimapshapeslib
A program run again from the editor starts with an empty group; the original added members to the freed group of the run before.#1134
5SystemrisnowlibA program run again from the editor starts with no snow field set up; in the original, snow commands worked on the lists the run before had freed.#1135
5InputNewZoneTable
rizonejoylib
NewZoneTable accepts a table of one zone, as the guide allows; the original took 2 zones at least.#1136
5SystemricompactdisclibPrograms that use the CD commands start on Kickstart 1.x; the original crashed before their first line.#1138
5Systemrisoundlib2Programs with the second sound library start on Kickstart 1.x, where the AHI commands fail; the original crashed at the start.#1139
5Gadgets & menuspopupwinlibPrograms with popup menus run on Kickstart 1.x, and the menus work there, except a sub menu that does not fit the screen; the original crashed at the start.#1140
5GraphicsrimapshapeslibPrograms with rimapshapeslib run on Kickstart 1.3; the original crashed at start-up because it allocated its memory with a function of Kickstart 2.0.#1141
5FilesridoslibPrograms with the DOS helpers run on Kickstart 1.x, where the notification and device list commands return 0 and the path functions work; the original crashed at the start.#1142
5SystemriapplibPrograms with the App commands run on Kickstart 1.x, where the commands do nothing; the original crashed at the start.#1143
5SystemRXCreatePort
riarexxlib
RXCreatePort works on Kickstart 1.x; the original used functions of Kickstart 2.0 there and crashed.#1144
5SystemFindVolume, DeviceName$, CachesOn, CachesOff, Reboot
riamosfunclib
FindVolume, DeviceName$, CachesOn, CachesOff and Reboot work on Kickstart 1.x, where the cache commands return 0; the original crashed in all five.#1145
5SoundLoadTrackerModule
ciatrklib
LoadTrackerModule works on Kickstart 1.x and returns the AmigaDOS error code for a file it cannot open; the original crashed on 1.x and went on reading without a file.#1146
5FilesSTCLoad
ristonecrackerlib
STCLoad works on Kickstart 1.x; the original opened the file with a function of Kickstart 2.0 and crashed there.#1147
5SystemD_FindVolume
rilesdebuglib
D_FindVolume works on Kickstart 1.x; the original called functions of Kickstart 2.0 and crashed there.#1148
5FilesGetIconObject
ritooltypeslib
GetIconObject works on Kickstart 1.x, where a file without an icon gives 0; the original crashed there.#1149
5Windows & screensEZRequest, EZRequestArgs, ProgPath$, ProgDir$, ProgName$
rimisclib
EZRequest, EZRequestArgs and the program path commands work on Kickstart 1.x, with one or two gadgets and no title in the requester and the current directory as ProgDir$; the original crashed there.#1150
5GraphicsriwbspritelibThe Workbench sprite commands work on Kickstart 1.x and 2.x, with sprites 16 pixels wide in up to 3 colours; the original crashed there at the first GetWBSprite.#1151
5SystemMotorOff, CloseDisk
ritrackdisklib
MotorOff and CloseDisk write the device’s track buffer to the disk first; with the original the last track written was lost when the disk was taken out.#1154
5SoundCDPlayTrack
ricompactdisclib
The other CD commands no longer reuse the request of the track that plays.#1156
5SoundCDPlayTrack
ricompactdisclib
CDPlayTrack returns -1 when the play was sent; the original returned a leftover value.#1157
5SystemrifastseriallibA program run again from the editor starts as the slave and not set up, not with the state of the run before.#1159
5SystemriseriallibWhen more than 255 bytes arrive unread, the first 255 are kept; with the original all of them were lost.#1160
5SystemSerialReadString
riseriallib
SerialReadString stops at the end of the string work area instead of writing past it.#1161
5SystemSerialStop, SerialSendBlock
riseriallib
A SerialStop with no transfer running no longer cuts the next block short.#1162
5SystemReadSector, WriteSector, FormatTrack, WriteBoot, BootProg
ritrackdisklib
On Kickstart 1.x a buffer outside chip memory goes through a chip buffer of the library; trackdisk.device there read and wrote unrelated chip memory instead.#1163
5SystemDoSerialIO, InitSerialIO, SetIOSize
rifastseriallib
After a count of 0 DoSerialIO without an argument transfers nothing; the original exchanged 65536 bytes, far past the buffers.#1164
5SoundChangeTrackerVBlank
ciatrklib
A program run again from the editor plays in CIA mode, also when the run before called ChangeTrackerVBlank; the original stayed silent there without PlayTracker.#1165
5SystemGetHexAdr$
rilesdebuglib
GetHexAdr$ reads words and longs at odd addresses on a 68000; the original stopped there with an address error.#1168
5SystemrilesdebuglibA second run from the editor starts rilesdebuglib with its defaults (cursor, inverse printing, search result, token list, AddProcessPtr codes); the original kept those of the run before.#1169
5SystemInstrSize
ridisasmlib
InstrSize is 0 before the first DisAssemble$ of a run, also in a second run from the editor; the original returned the size of the run before.#1170
5CompilerCompilerA library file whose relocation data holds no entries is loaded as a library without relocations; the original took it as out of memory and stopped at its start, or crashed under the editor.#1175
5CompilerCompilerThe last word of the code in an executable is zero when the code has an odd number of words; the original took it from behind its own memory, so under a memory checker the same source gave different executables.#1184
5CompilerCompilerA constant operation whose code ends exactly at the end of the object buffer does not crash or hang the compiler; the original ran on into the memory behind the buffer.#1190
5CompilerMacro
Compiler
A compile error on a line that came from a macro frees the memory of the expanded line; the original kept it until the next compile, in a nested macro the outer line’s for good.#1203
5CompilerMacro
Compiler
A line in the debugger’s direct mode that used a macro frees the memory of the expanded line once it is compiled; the original kept it until the next macro or compile, for good if blitz2 ended first.#1204