]> git.sur5r.net Git - cc65/commit
Rewrote tgi_load_driver in assembler and fixed a possible memory leak when
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 22 Jul 2012 11:07:46 +0000 (11:07 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 22 Jul 2012 11:07:46 +0000 (11:07 +0000)
commit975a06c2eecf8c606d16a3624a19fdcbd981203e
tree248f98fdcc25d4f057f1aea23d7eeb6a55342e01
parent3ce61b47a9182860e0f91aa1c9c63f2bf21a19e9
Rewrote tgi_load_driver in assembler and fixed a possible memory leak when
doing so. Changed the behaviour in case a driver is already loaded: Since the
library cannot know if this driver was linked statically or loaded
dynamically, an already installed driver is considered an error. It must be
removed before calling tgi_load_driver.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5790 b7a2c559-68d2-44c3-8de9-860c34a00d81
asminc/tgi-error.inc
asminc/tgi-kernel.inc
include/tgi/tgi-error.h
libsrc/tgi/Makefile
libsrc/tgi/tgi-kernel.s
libsrc/tgi/tgi_geterrormsg.s
libsrc/tgi/tgi_load.s [new file with mode: 0644]
libsrc/tgi/tgi_load_driver.c [deleted file]