--- xtrs-4.9c.orig/trs_disk.c +++ xtrs-4.9c/trs_disk.c @@ -674,7 +674,7 @@ } else { newlen = offset(d, 0); } - ftruncate(fileno(d->file), newlen); + if (ftruncate(fileno(d->file), newlen)) {} } } @@ -808,7 +808,7 @@ /* Read first block of ids */ fseek(d->file, JV3_IDSTART, 0); - fread((void*)&d->u.jv3.id[0], 3, JV3_SECSPERBLK, d->file); + if (fread((void*)&d->u.jv3.id[0], 3, JV3_SECSPERBLK, d->file)) {} /* Scan to find their offsets */ ofst = JV3_SECSTART; @@ -2217,7 +2217,7 @@ fseek(d->file, DMK_HDR_SIZE + (d->phytrack * d->u.dmk.nsides + state.curside) * d->u.dmk.tracklen, 0); - fwrite(d->u.dmk.buf, d->u.dmk.curbyte, 1, d->file); + if (fwrite(d->u.dmk.buf, d->u.dmk.curbyte, 1, d->file)) {} if (d->phytrack >= d->u.dmk.ntracks) { d->u.dmk.ntracks = d->phytrack + 1; fseek(d->file, DMK_NTRACKS, 0); --- xtrs-4.9c.orig/xtrs.man +++ xtrs-4.9c/xtrs.man @@ -68,6 +68,9 @@ signals a disk change in the emulated floppy drives (see below). F8 exits the program. F9 enters the debugger (zbx). F10 is the reset button. +F11 (or Shift+F1 on some systems) toggles an overlay window which +summarizes the above information. + In Model III, 4, and 4P modes, the left and right shift keys are distinct; in Model I mode, they are the same. The PageUp and PageDown keys always activate the positions that correspond to the Model --- xtrs-4.9c.orig/trs_keyboard.c +++ xtrs-4.9c/trs_keyboard.c @@ -685,8 +685,8 @@ /* 0xffe6 XK_Shift_Lock */ { TK_NULL, TK_Neutral }, /* 0xffe7 XK_Meta_L */ { TK_Clear, TK_Neutral }, /* 0xffe8 XK_Meta_R */ { TK_Down, TK_ForceShiftPersistent }, -/* 0xffe9 XK_Alt_L */ { TK_Clear, TK_Neutral }, -/* 0xffea XK_Alt_R */ { TK_Down, TK_ForceShiftPersistent }, +/* 0xffe9 XK_Alt_L */ { TK_NULL, TK_Neutral }, +/* 0xffea XK_Alt_R */ { TK_NULL, TK_Neutral }, /* 0xffeb XK_Super_L */ { TK_NULL, TK_Neutral }, /* 0xffec XK_Super_R */ { TK_NULL, TK_Neutral }, /* 0xffed XK_Hyper_L */ { TK_NULL, TK_Neutral }, --- xtrs-4.9c.orig/Makefile.local +++ xtrs-4.9c/Makefile.local @@ -50,7 +50,7 @@ # these lines. As of xtrs 2.7, it is now OK to use this feature again. READLINE = -DREADLINE -READLINELIBS = -lreadline -lncurses +READLINELIBS = -lreadline # If you want to debug the emulator, use the -g flag instead: --- xtrs-4.9c.orig/Makefile +++ xtrs-4.9c/Makefile @@ -143,7 +143,7 @@ include Makefile.local CFLAGS = $(DEBUG) $(ENDIAN) $(DEFAULT_ROM) $(READLINE) $(DISKDIR) $(IFLAGS) \ - $(APPDEFAULTS) -DKBWAIT -DHAVE_SIGIO + $(APPDEFAULTS) -DKBWAIT LIBS = $(XLIB) $(READLINELIBS) $(EXTRALIBS) ZMACFLAGS = -h --- xtrs-4.9c.orig/cassette.man +++ xtrs-4.9c/cassette.man @@ -15,13 +15,6 @@ This manual page also describes the image formats that the emulator supports and their limitations. -In this release, two cassette programs are supplied. The original -\fBcassette\fP is a C-shell script; it should work with most versions -of /bin/csh. If you do not have /bin/csh installed, you can use -\fBcassette.sh\fP, which is a Bourne shell script. It requires a -modern version of the Bourne shell that supports user-defined functions, -so it may not work on older Unix systems. - .SH Commands .B pos generates a status message including the filename being used as the --- xtrs-4.9c.orig/cpmutil.html +++ xtrs-4.9c/cpmutil.html @@ -7,19 +7,10 @@ -
-UP -HOME +Roland Gerlach's TRS-80 page +
+Roland Gerlach's home page
@@ -216,9 +207,13 @@ +

Note: On this Debian system, the CP/M utility disk is +already installed in uncompressed form, and is available at /usr/lib/xtrs/cpmutil.dsk.

+


Comments and suggestions are welcome, send them to Roland Gerlach.

- \ No newline at end of file + --- xtrs-4.9c.orig/mkdisk.c +++ xtrs-4.9c/mkdisk.c @@ -15,6 +15,7 @@ #include #include +#include #include #include #include @@ -44,6 +45,7 @@ int cyl = -1, sec = -1, gran = -1, dir = -1, eight = 0, ignden = 0; int writeprot = 0, unprot = 0; int i, c, oumask; + int written; char *fname; FILE *f; @@ -385,7 +387,15 @@ perror(fname); exit(1); } - fwrite(&rhh, sizeof(rhh), 1, f); + do { + written = fwrite(&rhh, sizeof(rhh), 1, f); + if (written >= 1) + break; + } while (written >= 0 || errno == EINTR); + if (written < 0) { + perror(fname); + exit(1); + } } fclose(f); return 0; --- xtrs-4.9c.orig/trs_xinterface.c +++ xtrs-4.9c/trs_xinterface.c @@ -82,6 +82,7 @@ static Display *display; static int screen; static Window window; +static Window help_window; static GC gc; static GC gc_inv; static GC gc_xor; @@ -302,7 +303,10 @@ trs_sound_init(ioport, vol); /* requires root privilege */ } } - setuid(getuid()); + if (setuid(getuid()) != 0) { + error("%s", "Can't setuid()\n"); + exit(EXIT_FAILURE); + } #endif /* linux */ (void) sprintf(option, "%s%s", program_name, ".emtsafe"); @@ -625,6 +629,98 @@ #endif } +/* + * show help + */ + +void trs_show_help() +{ + XWindowAttributes parent_attrs; + unsigned int help_width = 495; + unsigned int help_height = 365; + unsigned int help_xpos, help_ypos; + unsigned long foreground, background; + GC help_gc; + XGCValues values; + char *help_font_name = "9x15"; + XFontStruct *help_font_info; + int font_height; + int text_line; + int i; + static char *helpitems[] = { + "F1: Model 4/4P F1 key", + "F2: Model 4/4P F2 key", + "F3: Model 4/4P F3 key", + "F4: Model 4/4P caps lock key", + "F5: TRS-80 @ key", + "F6: TRS-80 0 key", + "F7: signal disk change in emulated floppy drive", + "F8: exit emulator", + "F9: enter zbx debugger", + "F10: TRS-80 reset button", + "", + "LeftArrow, Backspace, Delete: TRS-80 left arrow key", + "RightArrow, Tab: TRS-80 right arrow key", + "UpArrow: TRS-80 up arrow key", + "DownArrow, Linefeed: TRS-80 down arrow key", + "", + "Esc, Break: TRS-80 break key", + "Home, Clear, LeftAlt: TRS-80 clear key", + "Control: Model 4/4P control key", + "RightAlt: shifted TRS-80 down arrow key", + "", + "F11 (Shift+F1 on some systems) toggles this help.", + "See the xtrs(1) manual page for more information.", + NULL + }; + + foreground = BlackPixel(display, screen); + background = WhitePixel(display, screen); + (void) XGetWindowAttributes(display, window, &parent_attrs); + if ((parent_attrs.width < help_width) + || (parent_attrs.height < help_height)) { + (void) fprintf(stderr, "%s: cannot display help window; parent window" + " dimensions not large enough to contain it\n", + program_name); + return; + } + + help_xpos = (parent_attrs.width - help_width) / 2; + help_ypos = (parent_attrs.height - help_height) / 2; + help_window = XCreateSimpleWindow(display, window, help_xpos, help_ypos, + help_width, help_height, 1, foreground, + background); + help_font_info = XLoadQueryFont(display, help_font_name); + if (NULL == help_font_info) { + (void) fprintf(stderr, "%s: cannot display help window; cannot open" + " \"%s\" font\n", program_name, help_font_name); + return; + } + help_gc = XCreateGC(display, help_window, 0, &values); + XSetFont(display, help_gc, help_font_info->fid); + XSetBackground(display, help_gc, WhitePixel(display,screen)); + XSetForeground(display, help_gc, BlackPixel(display,screen)); + + font_height = help_font_info->ascent + help_font_info->descent; + text_line = font_height; + + XMapWindow(display, help_window); + + for (i = 0; NULL != helpitems[i]; i++) { + size_t len; + int text_width __attribute__((unused)); + + len = strlen(helpitems[i]); + text_width = XTextWidth(help_font_info, helpitems[i], len); + + XDrawString(display, help_window, help_gc, 10, text_line, helpitems[i], + len); + text_line += font_height; + } + + return; +} + /* exits if something really bad happens */ void trs_screen_init() { @@ -916,6 +1012,23 @@ char buf[10]; XComposeStatus status; + /* + * Of Enter and Leave events, track which kind we saw last. X clients + * like "unclutter" will sythesize an Enter event on their own. + * + * Historically, xtrs assumed that every Enter would be preceded by a + * Leave. When this was not the case, xtrs would clobber the global + * autorepeat state to off; it wrongly stored the off state because the + * xtrs window already had focus. + * + * This enum is tri-valued with the zero value being UNDEF because we + * don't want to fake a Leave event the first time we Enter; that would + * cause restore_repeat() to read from repeat_state before it has been + * initialized, possibly storing a bogus global autorepeat state. + */ + enum enter_leave_t { UNDEF, ENTER, LEAVE }; + static enum enter_leave_t enter_leave; + if (trs_model > 1) { (void)trs_uart_check_avail(); } @@ -949,6 +1062,17 @@ #if XDEBUG debug("EnterNotify\n"); #endif + if (enter_leave == ENTER) { + /* + * The last Enter/Leave event we saw was an Enter; pretend we saw a + * Leave event first. + */ +#if XDEBUG + debug("faking a LeaveNotify event first\n"); +#endif + restore_repeat(); + } + enter_leave = ENTER; save_repeat(); trs_xlate_keysym(0x10000); /* all keys up */ break; @@ -957,6 +1081,7 @@ #if XDEBUG debug("LeaveNotify\n"); #endif + enter_leave = LEAVE; restore_repeat(); trs_xlate_keysym(0x10000); /* all keys up */ break; @@ -969,6 +1094,14 @@ #endif switch (key) { /* Trap some function keys here */ + case XK_F11: + if (!help_window) { + trs_show_help(); + } else { + XUnmapWindow(display, help_window); + help_window = 0; + } + break; case XK_F10: trs_reset(0); key = 0; --- xtrs-4.9c.orig/dis.c +++ xtrs-4.9c/dis.c @@ -2115,7 +2115,7 @@ break; case A_0: /* No args */ case A_0B: /* No args, backskip over last opcode byte */ - printf (code->name); + printf ("%s", code->name); break; case A_8R: /* One 8-bit relative address */ printf (code->name, (pc + 1 + (char) mem_read(pc)) & 0xffff); --- xtrs-4.9c.orig/debug.c +++ xtrs-4.9c/debug.c @@ -515,7 +515,7 @@ { if(!strcmp(command, "help") || !strcmp(command, "?")) { - printf(help_message); + printf("%s", help_message); } else if (!strcmp(command, "zbxinfo")) { --- xtrs-4.9c.orig/debian/README.contrib-only +++ xtrs-4.9c/debian/README.contrib-only @@ -0,0 +1,28 @@ +The xtrs package is in the "contrib" distribution of Debian because it requires +a ROM image from one of the original TRS-80 Model I, III, 4, or 4P computers to +operate. Because of licensing restrictions on the ROM images, they may not be +distributed with the Debian package. + +There is a freely-licensed boot ROM for Model 4P emulation provided with xtrs; +however, this boot image can only be used to boot an operating system designed +for the Model 4 (it is not sophisticated enough to load the BASIC interpreter +ROM for Model III compatiblity mode, provided on Model 4P TRSDOS disks as a file +called MODELA/III). There are no known free operating systems for the TRS-80 +Model 4P, and there may never be. Since most users will likely be using this +emulator to run proprietary legacy applications for the TRS-80 computers, I do +not regard this exception as sufficient to recategorize xtrs for inclusion in +main. + +If someone ports a free OS to the TRS-80, however, that could change. This +isn't an implausible prospect; see the Contiki Project at + http://www.sics.se/contiki/ +for an example of a freely-licensed 8-bit OS that has been ported to platforms +contemporary with the TRS-80. + +See /usr/doc/xtrs/README.Debian for more information on using xtrs in Debian. + +-- Branden Robinson + +$Id: README.contrib-only 110 2008-02-07 04:09:22Z branden $ + +vim:set ai et ts=4 sw=4 tw=80: --- xtrs-4.9c.orig/debian/menu +++ xtrs-4.9c/debian/menu @@ -0,0 +1,5 @@ +?package(xtrs):\ + needs="X11"\ + section="Applications/Emulators"\ + title="xtrs"\ + command="/usr/bin/xtrs" --- xtrs-4.9c.orig/debian/patches +++ xtrs-4.9c/debian/patches @@ -0,0 +1,236 @@ +--- cassette.man~ ++++ cassette.man +@@ -15,13 +15,6 @@ + This manual page also describes the image formats that the emulator + supports and their limitations. + +-In this release, two cassette programs are supplied. The original +-\fBcassette\fP is a C-shell script; it should work with most versions +-of /bin/csh. If you do not have /bin/csh installed, you can use +-\fBcassette.sh\fP, which is a Bourne shell script. It requires a +-modern version of the Bourne shell that supports user-defined functions, +-so it may not work on older Unix systems. +- + .SH Commands + .B pos + generates a status message including the filename being used as the +--- trs_keyboard.c~ Thu Jun 14 12:02:00 2001 ++++ trs_keyboard.c Sat Jul 14 00:39:08 2001 +@@ -673,8 +673,8 @@ + /* 0xffe6 XK_Shift_Lock */ { TK_NULL, TK_Neutral }, + /* 0xffe7 XK_Meta_L */ { TK_Clear, TK_Neutral }, + /* 0xffe8 XK_Meta_R */ { TK_Down, TK_ForceShiftPersistent }, +-/* 0xffe9 XK_Alt_L */ { TK_Clear, TK_Neutral }, +-/* 0xffea XK_Alt_R */ { TK_Down, TK_ForceShiftPersistent }, ++/* 0xffe9 XK_Alt_L */ { TK_NULL, TK_Neutral }, ++/* 0xffea XK_Alt_R */ { TK_NULL, TK_Neutral }, + /* 0xffeb XK_Super_L */ { TK_NULL, TK_Neutral }, + /* 0xffec XK_Super_R */ { TK_NULL, TK_Neutral }, + /* 0xffed XK_Hyper_L */ { TK_NULL, TK_Neutral }, +Index: trs_xinterface.c +=================================================================== +--- trs_xinterface.c (revision 69) ++++ trs_xinterface.c (working copy) +@@ -916,6 +916,23 @@ + char buf[10]; + XComposeStatus status; + ++ /* ++ * Of Enter and Leave events, track which kind we saw last. X clients ++ * like "unclutter" will sythesize an Enter event on their own. ++ * ++ * Historically, xtrs assumed that every Enter would be preceded by a ++ * Leave. When this was not the case, xtrs would clobber the global ++ * autorepeat state to off; it wrongly stored the off state because the ++ * xtrs window already had focus. ++ * ++ * This enum is tri-valued with the zero value being UNDEF because we ++ * don't want to fake a Leave event the first time we Enter; that would ++ * cause restore_repeat() to read from repeat_state before it has been ++ * initialized, possibly storing a bogus global autorepeat state. ++ */ ++ enum enter_leave_t { UNDEF, ENTER, LEAVE }; ++ static enum enter_leave_t enter_leave; ++ + if (trs_model > 1) { + (void)trs_uart_check_avail(); + } +@@ -949,6 +966,17 @@ + #if XDEBUG + debug("EnterNotify\n"); + #endif ++ if (enter_leave == ENTER) { ++ /* ++ * The last Enter/Leave event we saw was an Enter; pretend we saw a ++ * Leave event first. ++ */ ++/*#if XDEBUG*/ ++ debug("faking a LeaveNotify event first\n"); ++/*#endif*/ ++ restore_repeat(); ++ } ++ enter_leave = ENTER; + save_repeat(); + trs_xlate_keysym(0x10000); /* all keys up */ + break; +@@ -957,6 +985,7 @@ + #if XDEBUG + debug("LeaveNotify\n"); + #endif ++ enter_leave = LEAVE; + restore_repeat(); + trs_xlate_keysym(0x10000); /* all keys up */ + break; +Index: trs_xinterface.c +=================================================================== +--- trs_xinterface.c (revision 104) ++++ trs_xinterface.c (revision 106) +@@ -82,6 +82,7 @@ + static Display *display; + static int screen; + static Window window; ++static Window help_window; + static GC gc; + static GC gc_inv; + static GC gc_xor; +@@ -625,6 +626,98 @@ + #endif + } + ++/* ++ * show help ++ */ ++ ++void trs_show_help() ++{ ++ XWindowAttributes parent_attrs; ++ unsigned int help_width = 495; ++ unsigned int help_height = 365; ++ unsigned int help_xpos, help_ypos; ++ unsigned long foreground, background; ++ GC help_gc; ++ XGCValues values; ++ char *help_font_name = "9x15"; ++ XFontStruct *help_font_info; ++ int font_height; ++ int text_line; ++ int i; ++ static char *helpitems[] = { ++ "F1: Model 4/4P F1 key", ++ "F2: Model 4/4P F2 key", ++ "F3: Model 4/4P F3 key", ++ "F4: Model 4/4P caps lock key", ++ "F5: TRS-80 @ key", ++ "F6: TRS-80 0 key", ++ "F7: signal disk change in emulated floppy drive", ++ "F8: exit emulator", ++ "F9: enter zbx debugger", ++ "F10: TRS-80 reset button", ++ "", ++ "LeftArrow, Backspace, Delete: TRS-80 left arrow key", ++ "RightArrow, Tab: TRS-80 right arrow key", ++ "UpArrow: TRS-80 up arrow key", ++ "DownArrow, Linefeed: TRS-80 down arrow key", ++ "", ++ "Esc, Break: TRS-80 break key", ++ "Home, Clear, LeftAlt: TRS-80 clear key", ++ "Control: Model 4/4P control key", ++ "RightAlt: shifted TRS-80 down arrow key", ++ "", ++ "F11 (Shift+F1 on some systems) toggles this help.", ++ "See the xtrs(1) manual page for more information.", ++ NULL ++ }; ++ ++ foreground = BlackPixel(display, screen); ++ background = WhitePixel(display, screen); ++ (void) XGetWindowAttributes(display, window, &parent_attrs); ++ if ((parent_attrs.width < help_width) ++ || (parent_attrs.height < help_height)) { ++ (void) fprintf(stderr, "%s: cannot display help window; parent window" ++ " dimensions not large enough to contain it\n", ++ program_name); ++ return; ++ } ++ ++ help_xpos = (parent_attrs.width - help_width) / 2; ++ help_ypos = (parent_attrs.height - help_height) / 2; ++ help_window = XCreateSimpleWindow(display, window, help_xpos, help_ypos, ++ help_width, help_height, 1, foreground, ++ background); ++ help_font_info = XLoadQueryFont(display, help_font_name); ++ if (NULL == help_font_info) { ++ (void) fprintf(stderr, "%s: cannot display help window; cannot open" ++ " \"%s\" font\n", program_name, help_font_name); ++ return; ++ } ++ help_gc = XCreateGC(display, help_window, 0, &values); ++ XSetFont(display, help_gc, help_font_info->fid); ++ XSetBackground(display, help_gc, WhitePixel(display,screen)); ++ XSetForeground(display, help_gc, BlackPixel(display,screen)); ++ ++ font_height = help_font_info->ascent + help_font_info->descent; ++ text_line = font_height; ++ ++ XMapWindow(display, help_window); ++ ++ for (i = 0; NULL != helpitems[i]; i++) { ++ size_t len; ++ int text_width; ++ ++ len = strlen(helpitems[i]); ++ text_width = XTextWidth(help_font_info, helpitems[i], len); ++ ++ XDrawString(display, help_window, help_gc, 10, text_line, helpitems[i], ++ len); ++ text_line += font_height; ++ } ++ ++ return; ++} ++ + /* exits if something really bad happens */ + void trs_screen_init() + { +@@ -998,6 +1091,14 @@ + #endif + switch (key) { + /* Trap some function keys here */ ++ case XK_F11: ++ if (!help_window) { ++ trs_show_help(); ++ } else { ++ XUnmapWindow(display, help_window); ++ help_window = 0; ++ } ++ break; + case XK_F10: + trs_reset(0); + key = 0; +Index: xtrs.man +=================================================================== +--- xtrs.man (revision 104) ++++ xtrs.man (working copy) +@@ -68,6 +68,9 @@ + signals a disk change in the emulated floppy drives (see below). F8 + exits the program. F9 enters the debugger (zbx). F10 is the reset button. + ++F11 (or Shift+F1 on some systems) toggles an overlay window which ++summarizes the above information. ++ + In Model III, 4, and 4P modes, the left and right shift keys are + distinct; in Model I mode, they are the same. The PageUp and PageDown + keys always activate the positions that correspond to the Model +Index: Makefile.local +=================================================================== +--- Makefile.local (revision 104) ++++ Makefile.local (working copy) +@@ -50,7 +50,7 @@ + # these lines. As of xtrs 2.7, it is now OK to use this feature again. + + READLINE = -DREADLINE +-READLINELIBS = -lreadline -lncurses ++READLINELIBS = -lreadline + + # If you want to debug the emulator, use the -g flag instead: + --- xtrs-4.9c.orig/debian/postinst +++ xtrs-4.9c/debian/postinst @@ -0,0 +1,23 @@ +#!/bin/sh +# Debian xtrs package post-installation script +# Copyright 2001 Branden Robinson. +# Licensed under the GNU General Public License, version 2. See the file +# /usr/share/common-licenses/GPL or . + +# $Id: postinst 111 2008-02-07 04:12:07Z branden $ + +set -e + +trap "message ;\ + message 'Received signal. Aborting xtrs package postinst script.' ;\ + message ;\ + exit 1" 1 2 3 15 + +# source debconf library +. /usr/share/debconf/confmodule + +#DEBHELPER# + +exit 0 + +# vim:set ai et sw=4 ts=4 tw=80: --- xtrs-4.9c.orig/debian/rules +++ xtrs-4.9c/debian/rules @@ -0,0 +1,109 @@ +#!/usr/bin/make -f +# Debian package build rules file for xtrs +# Copyright 1997-1999 Joey Hess. +# Copyright 1999, 2004 Branden Robinson. +# Licensed under the GNU General Public License, version 2. See the file +# /usr/share/common-licenses/GPL or . + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Command for converting HTML to plain text. +#HTML2TEXT=lynx -dump -nolist +HTML2TEXT=html2text -nobs -style pretty + +ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) + +ifneq (,$(findstring $(ARCH),alpha amd64 arm i386 i686 ia64 mipsel sh3 sh4)) +ENDIANNESS=little +endif + +ifneq (,$(findstring $(ARCH),armeb hppa m68k mips powerpc ppc64 sparc s390)) +ENDIANNESS=big +endif + +ifeq ($(ENDIANNESS),) +$(error endianness of $(ARCH) architecture is unknown\; cannot continue) +endif + +# if $DEB_BUILD_OPTIONS *doesn't* contain "noopt" +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +OPTIMIZE:=-O2 +endif + +PLAINTEXT_GOALS=cpmutil.txt dskspec.txt debian/trs80faq.txt + +%.txt: %.html + $(HTML2TEXT) $< >$@ + +build: build-stamp +build-stamp: $(PLAINTEXT_GOALS) + dh_testdir + +# Touch the mtimes on some of the assembled .hex files; when Tim Mann +# renamed the Z-80 assembly sources from ".z" to ".z80", their mtimes got +# updated and therefore Make thinks the .hex files need to be remade, using +# the zmac assembler, which is not widely available. +# +# This is hopefully a temporary kludge, and the timestamps will be fixed in +# the next (post-4.9c) xtrs release. + for F in \ + fakerom.hex \ + xtrsrom4p.hex \ + ; do \ + touch "$$F"; \ + done +ifeq ($(ENDIANNESS),big) + $(MAKE) DEBUG="-Wall -Werror -Wno-error=unused-but-set-variable $(OPTIMIZE) -g -D_REENTRANT" PREFIX=/usr \ + ENDIAN=-Dbig_endian +else + $(MAKE) DEBUG="-Wall -Werror -Wno-error=unused-but-set-variable $(OPTIMIZE) -g -D_REENTRANT" PREFIX=/usr +endif + + : >$@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -rm $(PLAINTEXT_GOALS) + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) PREFIX=debian/xtrs/usr install + install -m 755 cassette.sh debian/xtrs/usr/bin/cassette + install -m 644 cpmutil.dsk utility.dsk debian/xtrs/usr/lib/xtrs + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README xtrsrom4p.README cpmutil.html dskspec.html \ + debian/README.contrib-only debian/trs80faq.html $(PLAINTEXT_GOALS) + dh_installdebconf + dh_installmenu + dh_installman cassette.man cmddump.man hex2cmd.man mkdisk.man xtrs.man + dh_installchangelogs ChangeLog + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# This source package builds no architecture-independent binary packages. +binary-indep: + +binary: binary-arch +.PHONY: build clean binary-arch binary-indep binary install + +# vim:set ai noet sw=8 ts=8 tw=80: --- xtrs-4.9c.orig/debian/compat +++ xtrs-4.9c/debian/compat @@ -0,0 +1 @@ +5 --- xtrs-4.9c.orig/debian/copyright +++ xtrs-4.9c/debian/copyright @@ -0,0 +1,46 @@ +Package: xtrs +Obtained from: http://www.tim-mann.org/trs80/xtrs-4.9c.tar.gz + http://www.tim-mann.org/trs80faq.html +Upstream authors: David Gingold, Alec Wolman, Timothy Mann +Debian package author: Branden Robinson + +Debian copyright notice and license terms: + +Unless otherwise noted, all independently copyrightable modifications and +additions to xtrs found in its Debian packages bear the following copyright +and license terms: + +Copyright 1998-2006, 2008 Branden Robinson + +This software may be copied, modified, and used for any purpose +without fee, provided that (1) the above copyright notice is +retained, and (2) modified versions are clearly marked as having +been modified, with the modifier's name and the date included. + +Original copyright notice and license terms: + +******************************************************************************** + +Copyright (C) 1992 Clarendon Hill Software. + +Permission is granted to any individual or institution to use, copy, or +redistribute this software, provided this copyright notice is retained. + +This software is provided "as is" without any expressed or implied +warranty. If this software brings on any sort of damage -- physical, +monetary, emotional, or brain -- too bad. You've got no one to blame but +yourself. + +The software may be modified for your own purposes, but modified +versions must retain this notice. + +******************************************************************************** + +Copyright (c) 1996-2000, Timothy Mann + +This software may be copied, modified, and used for any purpose +without fee, provided that (1) the above copyright notice is +retained, and (2) modified versions are clearly marked as having +been modified, with the modifier's name and the date included. + +$Id: copyright 119 2008-02-08 08:08:02Z branden $ --- xtrs-4.9c.orig/debian/checklist +++ xtrs-4.9c/debian/checklist @@ -0,0 +1,14 @@ +New upstream version checklist: +* summarize new features in debian/changelog +* see if any new features should be mentioned in debian/control +* ensure new upstream files are shipped, and deleted files upstream are no + longer shipped, as appropriate +* migrate patches +* update copyright file (source location) +* check for new trs80faq.html + + edit out header link section from trs80faq.html + + edit out footer link section from trs80faq.html + +$Id: checklist 111 2008-02-07 04:12:07Z branden $ + +vim:set ai et ts=2 sw=2 tw=80: --- xtrs-4.9c.orig/debian/trs80faq.html +++ xtrs-4.9c/debian/trs80faq.html @@ -0,0 +1,2261 @@ + + +TRS-80 Model I/III/4: Frequently Asked Questions + + + +

TRS-80 Model I/III/4: Frequently Asked Questions

+ +Here are a few frequently asked questions on the Radio Shack TRS-80 +Model I, Model III, and Model 4. These are Z-80 based machines that +were first introduced in 1977. The three models were partly +compatible with one another, and incompatible with most everything +else. Today they are of interest only to the nostalgic and a few +folks who have specialized applications that were never ported to +newer machines. The following are questions that people frequently +ask me; your mileage may vary! +This FAQ is available on the Web through the page +http://tim-mann.org/trs80.html. + +
+$Id: trs80faq.html,v 1.59 2007/02/21 05:16:37 mann Exp $
+
+ +
+

Contents

+ + + +
+ +

+ [1] Where can I get TRS-80 software and hardware? +

+ +

A huge collection of TRS-80 software is available for download +from the TRS-80 Revived Pages, +http://www.trs-80.com/. + +

Most software from Misosys, Logical Systems, Galactic Software +Ltd., Powersoft, and Breeze/QSD is now available for free download by +permission of the copyright owner, Roy Soltoff (owner of Misosys). +See http://tim-mann.org/trs80.html. + +

Computer News 80 has some commercial software and hardware +products, a library of freeware disks, and a small monthly newsletter +that still supports the TRS-80 I/III/4. You can contact them via the +Web at http://www.ebaystores.com/computernews80/. + +

M. A. D. Software deals in TRS-80 products. Among other things, +they have upgrades to the Model 4P ROMs and the MODELA/III file (Model +III ROM image). Check out their Web site at http://madsoft.lonestar.org/, +or contact them via email at +madcs@madsoft.lonestar.org or via US mail at: + +

+ M. A. D. Software
+ P. O. Box 331323
+ Fort Worth, TX 76133-1323 +
+ +

Archive Software is a small venture run by Cord Coslor. +Cord buys and sells used TRS-80 Model I/III/4 software and hardware +(among other things). Here is his new contact information as of +2-Apr-2001: + +

+ Cord Coslor
+ Archive Software
+ 21939 Hernando Ave.
+ Port Charlotte, FL 33952
+ (941) 625-1649
+ e-mail: ArchiveSoftware@juno.com
+ web: www.archivenews.net +
+ +

Ian Mavric of Melbourne, Australia runs "The Right Stuff (aka +TRS-80 Oldtimer Centre)". He deals in both hardware and software. +See his Web page at +http://www.netspace.net.au/~ianmav/trs80/. + +

There is a page of TRS-80s for sale linked from +http://www.trs-80.com/. + +

You can still order some software from Tandy Software Replacement +and/or Radio Shack Unlimited, formerly Radio Shack National Parts. +You can ask at a store or call Radio Shack at 800-843-7422. I'm told +that you might have to bug people for a while and maybe ask for a +supervisor or someone who's been there longer, before you find someone +who believes this is possible and knows how to do it. The purpose of +Tandy Software Replacement is to supply replacement disks to people +whose originals have been destroyed, so generally they do not provide +manuals or packaging, and the prices are very low. They don't +actually seem to care whether you originally owned the software. +Radio Shack Unlimited also stocks (or can make up) full packages of +some software, including manuals. + +

You can try bidding in the eBay +auctions. Prices tend to be inflated, though. + +


+

+ [2] Where can I get information to repair or upgrade my TRS-80? +

+ +

More hardware information is starting to appear on the Web these +days. See the TRS-80 links on my Web page, at http://tim-mann.org/trs80links.html, both the "history and +technical data" and "software and documentation downloads" sections. + +

You can ask on the newsgroup +comp.sys.tandy. This is a good +place for TRS-80 software questions too. You might also try searching +back postings to the group with Deja +News. + +

Also try the sources given in topic [1] to see +if they carry hardware manuals. Tandy Software Replacement or Radio +Shack Unlimited are said to be able to photocopy and sell manuals, but +I haven't tried this. + +

Computer News 80 has a mail-in repair service; see topic [1]. + +

Tandy Repair Centers may or may not be able to fix your TRS-80. +There is some danger that they won't know how to find the necessary +parts and information. They don't see a lot of these machines any more. + +


+

+ [3] How can I read my TRS-80 floppy disks in a PC? +

+ +

This is a somewhat complex topic, and much of the rest of this FAQ +is devoted to the details. There are a number of approaches, but I +think the best is to copy the disks to virtual disk image (.DSK) +files, as used by the various TRS-80 emulators; see the next few +topics in this FAQ. Once you have your data in .DSK format, it +will be much easier to work with. You can use an emulator to run the +TRS-80 software that is on the disks, get directory listings, examine +or print the data, extract individual files, etc. + +

Another approach that people sometimes try is to run TRSCROSS. +This is an MS-DOS program for reading and writing TRS-80 diskettes +that directly extracts individual files from the disks, without making +a .DSK image. It's a very old program that seems to have trouble +working on modern, fast PCs, and it puts your data into a format that +is not directly usable with emulators. I do not recommend this +approach, but if you really want to try it, TRSCROSS is available from +my Misosys software page. + +

Another approach that doesn't work well is to try to read the disks +in Linux without using an emulator. The Linux floppy driver is quite +versatile, but (at least as of this writing) no matter how you +configure it, you won't be able to read TRS-80 disks through the +normal open/close/read/write interface that programs like "dd" use. +First, the driver assumes that sector numbering always starts from 1, +but most TRS-80 formats start it from zero. Second, the driver +assumes that all sectors are written with a normal data address mark, +but most TRS-80 formats write some sectors (usually those on the +directory track) with a different DAM. The TRS-80 emulator for Linux +(xtrs) talks to the floppy driver using the low-level "raw command" +interface, which lets it get around these problems. + +

Still another approach is to connect a serial or parallel cable +between your PC and a real TRS-80, and transfer the data over that. +This is a lot slower than reading a floppy, but in some cases you can +be stuck doing it when the other approaches discussed below don't +work. Jeff Vavasour's Model I emulator includes instructions on how +to do this with a Model I; see topic [4]. I don't +have any advice beyond that, not having tried this approach myself. + +


+

+ [4] What TRS-80 emulators do you recommend? +

+ +

Under Linux and other Unix-compatible operating systems, I +recommend the xtrs +Model I/III/4/4P emulator. It should work on any version of Unix with +the X Window System, except that its support for physical floppy disk +drives works only under Linux, and sound works only under Linux or +other systems that have OSS-compatible sound drivers. It is free +software with full source code included. + +

Under Windows NT/2000/XP/2003, the following TRS-80 emulators are +available. Due to a limitation of Windows NT family operating +systems, neither one supports physical floppy disk drives, only floppy +images (.DSK files). They are both quite full featured otherwise. +

    +
  • Matthew Reed's new TRS32 emulates Models I, III, +and 4. The unregistered shareware version can be downloaded for free, +but omits a few features. The full version costs $69. + +
  • Wade Fincher's WinTRS-80 +emulates Models I, III, 4, and 4P. +It is downloadable free of charge, but source code is not available. +
+ +

The TRS-80 emulators available for MS-DOS or Windows 95/98/ME +do support physical floppy drives. I don't think any of them run under +Windows NT/2000/XP/2003 at all, however. +

+ +
+

+ [5] What is a .DSK file? +

+ +

A .DSK file is an image of a TRS-80 floppy disk in a file. They +are used by TRS-80 emulators. + +

Warning: There are three kinds of .DSK files with different +internal formats, one that originated with Jeff Vavasour's Model I +emulator (JV1), one that originated with his Model III/4 emulator +(JV3), and one that originated with David Keil's emulators (DMK). Each +one adds support for more TRS-80 disk formats. Each of Jeff's +emulators works only with the kind of .DSK file that was designed for +it. Matthew Reed's emulators work with JV1 and JV3 +transparently. David Keil's emulators and xtrs +work with all three kinds. + +

Technical details of the JV1 and JV3 formats are now available from +my Web page, http://tim-mann.org/trs80/dskspec.html. +Technical details of the DMK format are available from David Keil's +Web page, http://discover-net.net/~dmkeil/trs80/trstech.htm#Technical-DMK-disks. + +


+

+ [6] How can I convert my real TRS-80 floppy disks to .DSK files? +

+ +

There are several possibilities: + +

(A) One way is to transfer data over the TRS-80's serial port or +printer port. That's probably the best way if you have a Model I, +because a stock Model I can read and write only single density, but +many PCs cannot deal with single density (see topic [12]). Jeff Vavasour's Model I emulator includes +instructions on how to do this; see topic [4]. + +

(B) A faster and more convenient way, if you can get it to work, is to +read the disks in a PC with a 5.25-inch floppy drive. Under MS-DOS or MS +Windows, try Matthew Reed's freeware READDISK program. See http://www.arrowweb.com/mkr/readdisk_doc.html. + +

(C)If you have problems with READDISK or you are using +Linux, you can copy the disks with an emulator, as follows. + +

    +
  1. Get a TRS-80 emulator that supports both .DSK files and real floppy +drives. See topic [4]. Read the emulator's +instructions and get it running.
  2. + +
  3. Find a PC with a real 5.25-inch floppy drive attached. In theory, a +40-track DD drive is best if your TRS-80 had 40-track or 35-track +drives, but you can use 80-track HD drives too. (On a PC, 40-track DD +drives are usually called 180KB or 360KB drives, depending on whether +they are single or double sided.) The trouble with this theory is +that DD drives may not work with some emulators (see topic +[21]), and if your DD drive +is a pullout from a TRS-80, you may have difficulty cabling and jumpering +it correctly for a PC.
  4. + +
  5. Configure the emulator with an LDOS or other operating system .DSK +file as drive :0, a new, empty .DSK file as drive :1, and the real +drive as drive :2. If you are using a Model I emulator with LDOS, +note that Model I LDOS comes on two .DSK files, so configure the +emulator with the second one (LDOSXTRA.DSK) as drive :3. Note: +never try to use drive :3 for a double-sided disk (read or virtual) on +the Model I; a limitation of the Model I hardware (which the emulators +have no choice but to emulate faithfully) makes this fail to work.
  6. + +
  7. Boot the emulated machine. Model I LDOS requires an extra driver +to deal with double density, so if you are using it, type FDUBL to the +emulator after booting.
  8. + +
  9. Put the floppy into the real drive and copy it to the emulated +drive (.DSK) file. If you are using LDOS 5.3.1, the command is QFB :2 +:1. On LS-DOS 6.3.1, the command is DISKCOPY :2 :1. Both those +commands format the floppy automatically. +
+ +

The above instructions assume that the disk is in a format that can +be copied by LDOS. For TRSDOS 1.3 and NEWDOS/80 disks that LDOS +doesn't understand, you can get a TRSDOS 1.3 or NEWDOS/80 image from +http://www.trs-80.com, use that +as the operating system in the above procedure, and use appropriate +TRSDOS 1.3 or NEWDOS/80 commands to copy the disk. Sorry; I can't +help with the details, but see topic [23] for more +help with NEWDOS/80. + +

(D) For copy-protected disks (or normal disks, actually), you can also +try running one of the many TRS-80 copy utilities on an emulator, +copying from a real PC drive to a .DSK image. This will work if the +copy utility is compatible with the emulator and the physical disk can +be read by a PC floppy controller. The procedure is generally similar +to the instructions outlined above, but the details depend on which +copy utility you're using. I've had good results with SuperUtility +(available from http://tim-mann.org/misosys.html) running under xtrs, and I +think it runs well under David Keil's emulator too. If you are using +Model I SuperUtility, be sure to set the emulator to emulate either a +Tandy or Percom double density adapter, not both at once. The CopyCat +program available from David Keil's web site is also handy, as it only copies disks and +is much more automated than SuperUtility. CopyCat works well under +David Keil's emulator and under xtrs version 4.9 or later. Other copy +utilities that are sometimes useful include Trakcess and HyperZap, +though HyperZap has problems analyzing real disks when run under an +emulator. + +

(E) Another method is to buy a Catweasel universal floppy +controller card and copy the disks with it using the cw2dmk program +from my Catweasel Tools. This method is good for disks that your PC +can't read. See topic [12] for some reasons why +your PC may not be able to read certain TRS-80 disks. See topic [16] and http://tim-mann.org/catweasel.html for more +information on the Catweasel and the tools. + +


+

+ [7] How can I convert .DSK files to real TRS-80 floppy disks? +

+ +

There are several possibilities: + +

(A) One way would be to transfer data from your newer computer to a +real TRS-80 through its serial port or printer port. That may be the +only way if you have a Model I, because a stock Model I can read and +write only single density, but many PCs cannot deal with single +density (see topic [12]). However, I don't know +of any software for transferring data to the TRS-80 Model I through a +serial or parallel port. (Kermit did exist for the Model 4, and you may +be able to find XMODEM or the like, but I can't help with them.) + +

(B) A faster and more convenient way, if you can get it to work, is +to write the disks in a PC with a 5.25-inch floppy drive. If you have Linux +on your PC and your disk is a standard double-density format (40 or 80 +tracks, 1 or 2 sides), you can use the programs trsfmt and diskdmp by +Tony Duell, available from +http://tim-mann.org/trs80/trsdsk.tar.gz. +See the documentation included in the tar file. If you don't understand +what to do with .tar.gz files, see the next method instead. + +

(C) A more general way to write TRS-80 floppy disks in a PC with a +5.25-inch floppy drive is to use an emulator. Suitable emulators are +available for both Linux and DOS or Windows. Here is a procedure you +can follow. + +

    +
  1. Get a TRS-80 emulator that supports both .DSK files and real +floppy drives. See topic [4]. Please don't +say, "But I don't need an emulator, I have a real machine!" You need +an emulator to run this procedure, and they are nice to have anyway, +so get one.
  2. + +
  3. Get the files working for you in the emulator as .DSK files. Read +the instructions for the emulator to find out how to do this.
  4. + +
  5. Find a PC with a real 5.25-inch floppy drive attached. In theory, a +40-track DD drive is best if your TRS-80 had 40-track or 35-track +drives, but you can use 80-track HD drives too. (On a PC, 40-track DD +drives are usually called 180KB or 360KB drives, depending on whether +they are single or double sided.) The trouble with this theory is +that DD drives may not work with some emulators, and if your DD drive +is a pullout from a TRS-80, you may have difficulty cabling and jumpering +it correctly for a PC.
  6. + +
  7. Bulk-erase a 5.25-inch floppy, preferably using an AC bulk tape eraser as +sold by Radio Shack and others. You may be able to omit this step if +you are using a 40-track drive, but it's a good idea to do it anyway. +It is best to use floppies that are rated for double density or quad +density, not high density. High density floppies may work in a +pinch, but don't expect double density data to stay stable on them for +a long time.
  8. + +
  9. Configure the emulator with an LDOS or other operating system .DSK +file as drive :0, the .DSK file you want to convert as drive :1, and +the real drive as drive :2. If you are using a Model I emulator with +LDOS, note that Model I LDOS comes on two .DSK files, so configure the +emulator with the second one (LDOSXTRA.DSK) as drive :3. Note: +never try to use drive :3 for a double-sided disk (read or virtual) on +the Model I; a limitation of the Model I hardware (which the emulators +have no choice but to emulate faithfully) makes this fail to work.
  10. + +
  11. Boot the emulated machine. Model I LDOS requires an extra driver +to deal with double density, so if you are using it, type FDUBL to the +emulator after booting.
  12. + +
  13. Put the floppy into the real drive and copy the emulated drive +(.DSK) file to it. If you are using LDOS 5.3.1, the command is QFB :1 +:2. On LS-DOS 6.3.1, the command is DISKCOPY :1 :2. Both those +commands format the floppy automatically. +
+ +

The above instructions assume that the disk is in a format that can +be copied by LDOS. For TRSDOS 1.3 and NEWDOS/80 disks that LDOS +doesn't understand, you can get a TRSDOS 1.3 or NEWDOS/80 image from +http://www.trs-80.com, use that +as the operating system in the above procedure, and use appropriate +TRSDOS 1.3 or NEWDOS/80 commands to copy the disk. Sorry; I can't +help with the details, but see topic [23] for more +help with NEWDOS/80. + +

(D) For copy-protected disks (or normal disks, actually), you can also +try running one of the many TRS-80 copy utilities on an emulator, +copying from a .DSK image to a real PC disk drive. This will work if the +copy utility is compatible with the emulator and the physical disk format +can be written by your PC floppy controller. +The procedure is generally similar +to the instructions outlined above, but the details depend on which +copy utility you're using. I've had good results with SuperUtility +(available from http://tim-mann.org/misosys.html) running under xtrs, and I +think it runs well under David Keil's emulator too. If you are using +Model I SuperUtility, be sure to set the emulator to emulate either a +Tandy or Percom double density adapter, not both at once. The CopyCat +program available from David Keil's web site is also handy, as it only copies disks and +is much more automated than SuperUtility. CopyCat works well under +David Keil's emulator and under xtrs version 4.9 or later. Other copy +utilities that are sometimes useful include Trakcess and HyperZap. + +

(E) Another method is to buy a Catweasel universal floppy +controller card and copy the disks with it using the dmk2cw program +from my Catweasel Tools. This method is good +for disk formats that your PC can't write. See topic [12] for some reasons why your PC may not be able to +write certain kinds of TRS-80 disks. See topic [16] and http://tim-mann.org/catweasel.html for more +information on the Catweasel and the tools. + +

(F) If you need a copy of LS-DOS 6.3.1 on a real floppy and have no +other way to do it, M. A. D. Software will make a diskette for you for +$7.50 US plus shipping. Paper documentation is included. You can +request a single-sided or double-sided floppy. This service was +announced on 19 January 1998. See topic [1] for +contact information. + +


+

+ [8] How can I get individual files off a .DSK file or TRS-80 + floppy disk? +

+ +

Most of the TRS-80 emulators have programs for doing this. Read +the instructions for your emulator to find out how to use them. +Sometimes the program runs on the emulated Z-80 (a /CMD file); other +times it runs on the host operating system (an .EXE file). + +

Under Jeff Vavasour's Model I emulator, the relevant program is +VREAD.EXE. Under Jeff's Model III/4 emulator, it is EXPORT/CMD. +Under Matthew Reed's emulators, the program is TRSREAD.EXE and is +available only with registration. Under xtrs and David Keil's +emulators, the program is called EXPORT/CMD (not the same program as +Jeff's). + +


+

+ [9] How can I put individual files onto a .DSK + file or TRS-80 floppy disk? +

+ +

Most of the TRS-80 emulators have programs for doing this. Read +the instructions for your emulator to find out how to use them. +Sometimes the program runs on the emulated Z-80 (a /CMD file); other +times it runs on the host operating system (an .EXE file). + +

Under Jeff Vavasour's Model I emulator, the relevant program is +VWRITE.EXE. Under Jeff's Model III/4 emulator, it is IMPORT/CMD. +Under Matthew Reed's Model I/III emulator, the program is TRSWRITE.EXE +and is available only with the registered version. Under xtrs and +David Keil's emulators, the program is called IMPORT/CMD (not the same +program as Jeff's). + +


+

+ [10] What do I do with TRS-80 software that comes in .ZIP files? +

+ +

Some TRS-80 software you will find on the Web is supplied in .ZIP +archive files. You need to unzip these files to unpack their +contents. There actually are unzip programs that run on a TRS-80, but +they're slow and may not support all the compression types used by +modern zip programs. So you'll generally want to unzip these archives +on on your PC or Unix box. You can get free unzip programs from http://www.info-zip.org/pub/infozip/. + +

Within some .ZIP archives is a .DSK file. This is an emulated +floppy disk file. See topic [5] and the rest of +this FAQ for instructions on how to deal with .DSK files. + +

Other .ZIP archives contain individual files extracted from TRS-80 +disks. You can use these with an emulated (or real) TRS-80 by copying +the files onto a .DSK file or a real floppy. See topic [9] for instructions. + +

Some .ZIP archives of TRS-80 software may contain both a .DSK +and the individual files extracted from it. This is perhaps the most +convenient form, but obviously takes up twice as much space as either +of the others. + +


+

+ [11] What are the system file passwords and password back doors + on TRS-80 operating systems? +

+ +

The table below is based partly on documentation and partly on +actual test. Where a filename matches more than one pattern, use the +first one that matches. If a password doesn't work, try others from +the table and let me know of the error. If you have password +information for other Model I/III/4 operating systems, let me know. +The values in the TRSDOS 6 column should also work for versions of +LS-DOS prior to 6.3.1. + +

+Files        LDOS 5.1.0   LDOS 5.3.1   TRSDOS 6      LS-DOS 6.3.1
+-----        ----------   ----------   --------      ------------
+basic/*      (unused)     basic        basic         basic
+lbasic/*     basic        (unused)     (unused)      (unused)
+config/sys   ccc          ccc          ccc           ccc
+*/sys        wolves       system       lsidos        system6
+*/flt        gsltd        filter       filter        filter
+*/dvr        gsltd        driver       driver        driver
+*/dct        rrw3         driver       utility       driver or utility
+*/cmd        rrw3         utility      utility       utility
+*/hlp        (unused)     help         (unused)      help
+back door    rs0lt0ff     rs0lt0ff     (nflag$ bit7) (nflag$ bit7)
+
+ +The password listed as "back door" gives you access to all files +regardless of what their real passwords are. It's documented! I +confirmed by looking at the source code that TRSDOS/LS-DOS 6 has no +such password, but I found that later versions of it have another, +undocumented back door: if you turn on bit 7 of NFLAG$, all file +password checking is disabled. The command MEMORY (A="N", B=128) will +do this. This back door can be found in TRSDOS 6.2 and LS-DOS 6.3.1, +but not in TRSDOS 6.1.2. + +

Model I TRSDOS 2.3 also has +a back door password; the originally intended password is unknown, but +the string "ubett" hashes to the correct value and can be used. +The strings "f3gum", "nv36", and many others also work. +VTOS 3.0 also has such a back door; the password "hadu" can be used. + +

The password "password" is a standard default in the TRS-80 world. +If you're insistently prompted for a password in a situation where you +don't think a password should be needed, try "password". + +

Another way to reconstruct TRS-80 passwords is through exhaustive +search. This is quite fast because TRS-80 operating systems hash their +passwords down to 16-bit values, so you need only find some password +that hashes to the same value, not the exact original password. Here +is a C program to do that. + +

+/* trspwhash
+ * Usage:  trspwhash password	  // Hash a password
+ *         trspwhash -u 0xhash    // Unhash a password to letters
+ *         trspwhash -n 0xhash    // Unhash a password to letters and digits
+ */
+#include <stdio.h>
+
+unsigned int
+pwhash(unsigned char pw[8])
+{
+    unsigned char *p = &pw[7];
+    unsigned int count = 8;
+    unsigned int hl, t1, t2;
+
+    hl = 0xffff;
+    do {
+	t1 = hl & 0x07;
+	t2 = hl & 0xff;
+	hl = (t1 << 13) ^ (t1 << 9) ^ (t1 << 2) ^
+	     (t2 << 8) ^ (t2 << 4)  ^ (t2 >> 3) ^
+             (hl >> 8) ^ (*p-- << 8);
+    } while (--count);
+    return hl;
+}
+
+void
+usage()
+{
+    fprintf(stderr, "usage: trspwhash [-u | -n] arg\n");
+    exit(1);
+}
+
+int
+main(int argc, char **argv)
+{
+    unsigned int goal;
+    unsigned char pw[16];
+    int i;
+    if (argc == 2) {
+	strncpy(pw, argv[1], 8);
+	pw[8] = '\0';
+	strcat(pw, "        ");
+	for (i = 0; i < 8; i++) {
+	    if (islower(pw[i])) pw[i] = toupper(pw[i]);
+	}
+	printf("%04x\n", pwhash(pw));
+    } else if (argc == 3 && strcmp(argv[1], "-u") == 0) {
+	goal = strtoul(argv[2], (void*)0, 0);
+	strcpy(pw, "        ");
+	for (;;) {
+	    if (pwhash(pw) == goal) printf("%s\n", pw);
+	    i = 0;
+	    for (;;) {
+		switch (pw[i]) {
+		  case ' ':
+		    pw[i] = 'A';
+		    break;
+		  case 'Z':
+		    pw[i] = 'A';
+		    i++;
+		    if (i == 8) exit(0);
+		    continue;
+		  default:
+		    pw[i]++;
+		    break;
+		}
+		break;
+	    }
+	}
+    } else if (argc == 3 && strcmp(argv[1], "-n") == 0) {
+	goal = strtoul(argv[2], (void*)0, 0);
+	strcpy(pw, "        ");
+	for (;;) {
+	    if (pwhash(pw) == goal) printf("%s\n", pw);
+	    i = 0;
+	    for (;;) {
+		switch (pw[i]) {
+		  case ' ':
+		    pw[i] = 'A';
+		    break;
+		  case 'Z':
+		    pw[i] = '0';
+		    break;
+		  case '9':
+		    pw[i] = 'A';
+		    i++;
+		    if (i == 8) exit(0);
+		    continue;
+		  default:
+		    pw[i]++;
+		    break;
+		}
+		break;
+	    }
+	}		
+    } else {
+	usage();
+    }
+    return 0;
+}
+
+ +
+

+ [12] What problems do PC floppy disk controllers have with TRS-80 + disk formats? What problems do different TRS-80 models have with each + other's disk formats? +

+ +

The Western Digital 177x/179x floppy disk controllers that were +used in TRS-80s have some capabilities that PC disk controllers +generally lack. The executive summary is that (1) many standard PC +floppy controllers can't handle single density at all, (2) even those +that can handle single density generally cannot read the directory +track on a Model I TRSDOS disk, and (3) there can also be problems +reading double density disks. Here are more details. + +

Many PCs cannot handle single density (FM) encoding. The original +Model I used single density exclusively, and even a Model I with a +double density adaptor requires a single density boot sector on system +disks. The original IBM PC controller required extra outboard +components to support clock/data separation for single density, but +IBM left them off to reduce their manufacturing costs. (So I'm told; +I wasn't involved with PCs in that era.) This started the tradition +of leaving out single density support in PCs. Modern PCs use more +highly integrated IO chips that include data separation on the chip, +but many still omit single density support. See topic [15] for a rundown on what PC controllers support +single density and topic [16] for other hardware +solutions that are available. + +

The WD1771, used in the TRS-80 Model I, is able to read and write +single-density sectors with nonstandard data address marks (DAMs) 0xF9 +and 0xFA, as well as the standard ones 0xFB (data) and 0xF8 (deleted +data). The WD1791/1793 and later chips, used in the Model III and 4, +can read all such sectors, but cannot distinguish between 0xFB +and 0xFA or between 0xF9 and 0xF8. Model I's with double density adaptors +have *both* controllers, and use the 1771 for single density, so they +are fully compatible with stock Model I's. PC disk controllers, even +those that do single density, cannot read sectors that use the 0xFA or +0xF9 DAM at all. (I have actually tested this only with 0xFA on a +PC87306. I'd welcome corrections if other standard PC controllers can +handle these data address marks.) See topic [16] +for devices that can read these disks. + +

These differences would be no problem if Model I software did not +actually use the nonstandard DAMs, but unfortunately, it does. In +particular, Model I TRSDOS 2.x distinguishes between normal data +sectors and directory sectors by using 0xFB for the former and 0xFA +for the latter. On Model III/4 TRSDOS-like systems, where 0xFA is not +fully supported, 0xF8 is used instead. +Some later Model I systems (such as LDOS 5.0.2 and later) also +switched to 0xF8 on the directory to allow for direct media +compatibility with the Model III/4, while others stuck with 0xFA for +direct Model I TRSDOS compatibility. Patches for TRSDOS 2.3 were +developed that allow it to read and/or write 0xF8 directory sectors, +but they were not widely used. (See topic [13].) +Special software is supplied with +Model III/4 operating systems that allows them to read Model I disks +and/or convert them to Model III/4 format. (The REPAIR command on +LDOS is an example of the latter.) No such software can work on a PC +controller, however, because the 0xFA sectors cannot be read at all. + +

There are also many gratuitous format differences amongst the +various TRSDOS-like TRS-80 operating systems. For most of the +systems, a single-density, single-sided, 35-track disk is a common +denominator, except for the DAM problem just discussed. Adding more +tracks is usually not a problem, though some systems may insist that +the directory remain on track 17, while others put the directory +location in track 0, sector 0, byte 2. The various systems diverged +in the way they generalized the format to work with double density and +other larger drives. The main streams were LDOS, NEWDOS, and Model +III TRSDOS 1.3. LDOS uses a variable number of sectors per granule +(allocation unit) that must evenly divide the number of sectors per +track, and uses exactly one cylinder for the dirctory. I believe +NEWDOS always uses 5 sectors per allocation unit, but allows varying +the packing of granules onto the disk and the number of granules used +for the directory. Model III TRSDOS 1.3 made a large number of +unnecessary changes to the format; it was clearly inspired by the Model +I format, but it is not a compatible extension. + +

Many PC disk controllers have difficulty reading double density +disks formatted by older releases of TRS-80 operating systems, even +with the proper software on the PC. Many TRS-80 operating systems +formatted the disks with too short a gap between the index hole and +the first sector. Late releases of the +Model III and 4 operating systems were corrected to format floppies +with the proper gap lengths. + +

Working around the index hole problem can be tricky. With some +drive/controller combinations, it may work to put a piece of tape over +the index hole, but this is not usually successful. Another +possibility is to read the disk with a Catweasel controller, if you +have one; see topic [16]. +Here are instructions for another approach, from Amardeep S. Chana: + +

    +
  1. Locate wire number 8 in your floppy disk cable. Wire 1 normally +has a colored stripe, and the wires are numbered sequentially from +there. + +
  2. Cut this wire and install a switch so you can connect and +disconnect this wire easily. + +
  3. Use one of the more reliable pieces of software to attempt a read +on a real 360K drive: +
      +
    1. xtrs +
    2. DMK emulator +
    3. Anadisk or Teledisk +
    +READDISK is not very reliable; it is too sensitive to +controller/drive combinations. + +
  4. First attempt a read with the switch closed. You will get an +error. Then open the switch and retry. If it is a post index sector +gap problem, this will fix it. + +
  5. Note that you must always first try with switch closed and then +retry. The software doesn't initialize the controller properly if you +just always leave the switch open. That wire is the index sense line. +After at least one pulse has been detected, the system no longer needs +index pulses for reads and the rest of the diskette should read fine. +
+ +

Nick Andrew adds that with older drives (such as original TRS-80 +drives), the drive itself does not need to see the index pulse, but +the PC controller may still need to see at least one pulse to get +started. In this case you can do without the switch; instead, insert +a piece of cardboard alongside the disk after the first attempted +access, positioning it so as to block the index hole sensor. + +


[13] How can TRSDOS 2.3 be patched to read +single-density disks written by a Model III, Model 4, or PC?

+ +There is a one-byte patch to TRSDOS 2.3 that allows it to read +disks written with standard data address marks (0xF8 and 0xFB instead +of 0xFA and 0xFB; see topic [12]). If you can +find a PC that supports single density (many do not), you could use an +emulator to make Model I disks on it, which you could then read on the +Model I with the help of this patch. The patch is also useful if for +some reason you need to make Model I disks on a Model III or 4. For +instance, suppose you have a PC that can't write single density, but +you also have a real Model III or 4, which can. In that case, you could +copy software to a double density disk on the PC, then copy the double +density disk to single density on the Model III or 4. + +Here's a description of the patch, from the Misosys EDAS manual. +(EDAS was distributed on a Model III/4-compatible disk that Model I +TRSDOS couldn't read without the patch.) If you want to apply the +patch on a Model III or 4 before moving the disk over to a Model I, +you can use Method (1), changing the drive number in line 10 as +needed. New: I've also added a section to Method (1) that will +let the modified disk boot even if its own directory track has 0xF8 +data address marks. + +

Model I TRSDOS 2.3 Patch

+ +

Model I TRSDOS users will find difficulty in reading the distribution +disk due to the data address mark used for the directory. Therefore, before +making a BACKUP or copying EDAS files from the diskette, you will need to +change one byte of the TRSDOS 2.3 disk driver using one of the following +three methods. This change will not affect the operation of your TRSDOS. + +

Method (1) directly modifies the system diskette with a patch. To +prepare for this patch, obtain a fresh BACKUP of your TRSDOS 2.3 to use for +this operation. Then enter the following BASIC program and RUN it. After you +RUN the program, re-BOOT your TRSDOS diskette to correct the byte in memory. + +

+  10 OPEN"R",1,"SYS0/SYS.WKIA:0"
+  20 FIELD 1,171 AS R1$, 1 AS RS$, 84 AS R2$
+  30 GET 1,3: LSET RS$="<": PUT 1,3: CLOSE
+
+ +

Added 10-18-2000: If you are using this patch on a TRSDOS +2.3 disk that itself has 0xF8 data address marks, the disk will not +boot unless you also patch the boot sector. You can do so by adding +the following lines to the program. Methods (2) and (3) will not work +for this purpose. You might get the message "INTERNAL ERROR IN LINE +60" when you run the program, for unknown reasons, but it works anyway. + +

+  40 OPEN"R",1,"BOOT/SYS.WKIA:0"
+  50 FIELD 1,220 AS R1$, 1 AS RS$, 35 AS R2$
+  60 GET 1,1: LSET RS$=CHR$(28): PUT 1,1: CLOSE
+
+ +

Method (2) uses DEBUG to change the byte in memory. Use this if you do +not want to patch your TRSDOS system diskette and are familiar with DEBUG. + +

    +
  1. At TRSDOS Ready, type DEBUG followed by <ENTER>. +
  2. Depress the <BREAK> key to enter the DEBUGger. +
  3. Type M46B0 followed by the <SPACE> bar. +
  4. Type 3C followed by <ENTER>. +
  5. Type G402D followed by <ENTER>. +
+ +

Method (3) uses a POKE from BASIC to change the value directly in +memory. This procedure is as follows: + +

    +
  1. Enter BASIC (files = 0, protect no memory) +
  2. Type POKE &H46B0,60 followed by <ENTER>. +
  3. Type CMD"S" followed by <ENTER>. +
+ +

[14] What are the differences among single, +double, quad, and high density floppy media?

+ +

There is essentially no difference between single and double +density media (if you can actually find any single density media +anymore). Double density media has been tested and certified for +double density recording, which is slightly more demanding than single +density recording; conceivably, a dropout that might not be noticed in +single density could be a problem in double density. In practice, +though, I suspect that back in the days when manufacturers sold both +DD and SD media, the media came off the same production line and the +SD media would have met the DD standard nearly all the time. + +

"Quad density" 5.25-inch media is certified for double density recording +at 80 tracks per side rather than 40 tracks per side. This is quite +different from "high density," discussed below. 80 TPS quad density +media should work fine at 40 TPS double density. I've been told that +there can be problems using 40 TPS double density media at 80 TPS quad +density; I believe the person who told me this, but neither of us +really knows the reason. All 3.5-inch media is certified for 80 TPS. + +

You will also sometimes see media labelled as one-sided or +two-sided. Both types have magnetic material on both sides, but on +the disks advertised as one-sided, the second side may not have been +tested. It's even possible, though unlikely, that the second side was +tested and failed. + +

Occasionally you'll find a "flippy" 5.25-inch disk. Such a disk +can be recorded on both sides by removing it from the drive and +flipping it over. It has two separate write-protect notches and two +separate index hole cutouts in the jacket. Sometimes users would make +their own flippy disks with a hole punch. + +

There were also a few "flippy drives" made. These had two +write-protect sensors and two index-hole sensors, and they could thus +read and write on the reverse side of an ordinary diskette inserted +into the drive upside-down. If you have disks written in a flippy +drive but you don't have a flippy drive, the reverse side will be +quite hard to read. See topic [26] for ways to do +it. + +

"High density" media is very different, and should not be +interchanged with single/double/quad density media. It has different +magnetic properties (higher coercivity, requiring a higher write +current from the disk drive). If you try to format DD media as HD, +the media will be too strongly magnetized and bleed-through can occur, +garbling your data either immediately or after the disk has sat on the +shelf for a while. Such a disk may also be difficult to erase and +rewrite with new data. Similarly, formatting HD media as DD is not a +good idea either; the media will be too weakly magnetized, and your +data may be completely unreadable or may fade away after a while. +These problems are worse on 5.25-inch disks than on 3.5-inch disks because the +difference in coercivity is greater for 5.25-inch media, but they exist +for both types of disk. + +

You can distinguish between 3.5-inch HD and DD media by looking for a +hole in the jacket on the opposite edge from the write-enable hole; HD +media has the extra hole, while DD media does not. You cannot +reliably distinguish between 5.25-inch HD and DD media if they are not +labelled. There are a couple of ways of guessing: DD media usually +has a hub reinforcing ring (but not always), while HD media generally +does not. The color of the media also tends to be different; HD media +is darker. + +


[15] Which PC floppy controllers and drives can handle +single density (FM)? +

+ +

Some folks will tell you that you need an older PC to get single +density (FM) support. This is wrong. The floppy disk +controllers in many PCs being produced today support +FM, and many older ones do not. Some controllers will support FM on +all floppy drives, while other controllers have +problems with 5.25-inch 1.2MB HD drives and may require you to change a +jumper in the drive or (more likely) use a 5.25-inch 360K DD drive instead. + +

If you need to read and write single density disks, the best thing +to do is to try it on the PCs that you have available and see if you +can find one where it works. This is more accurate and usually easier +method than opening up the box and peering at the part number on the +FDC or SuperIO chip (which might not give you a definite answer +anyway). If you can't find one that works, the information below +and in topic [16] may be of some help. + +

The detailed information below was gleaned from newsgroup +and Classic Computer mailing list postings by Amardeep S. Chana, Don +Maslin, Pete Cervasio, Allison Parent, Tony Duell, Nick +Andrew, and Knut Roll-Lund, together with some knowledge of my own. +I've liberally borrowed from their words for this answer. Don't take +this listing as absolute truth; in particular, some of the posters +were not in full agreement on some points! Feel free to send +additions or corrections if you have some information. + +

Controllers The answer to the question "does floppy +disk controller chip X support single density (FM)?" can be "yes", +"no", or "implementation dependent" (that is, "maybe"). With early +controllers, the answer was "maybe", because more external components +were needed to handle data separation for both FM and MFM than for MFM +alone. As mentioned in topic [12], the original +IBM PC omitted the external components needed to support FM, and many +later compatibles followed suit. Modern controllers typically +integrate data separation on the main chip, but some support FM and +some do not. It seems that in some cases, a PC may be able to read +single density but not write it, or it may be able to read and write +but not format; these behaviors may depend on external components, not +just the controller chip. + +

Note: if you are going to use this information, do not rely on +software to identify your FDC chip. Open the box and look. Newer +"compatible" chips often look to software like older chips, but the +status of their FM support may be different. +Also, be aware that the information below may be incomplete or wrong in +some details. If you know more, send mail. + +

Drives In principle, all floppy disk drives support +single density; the drive cannot tell whether you are giving it FM or +MFM encoded data. However, it seems that some controllers cannot do +FM on 5.25-inch drives that spin at 360 RPM, only on drives that spin at +300 RPM. Doing FM on a 360 RPM 5.25-inch drive requires a data rate of +150 Kb/s, which apparently is not implemented in some controllers. +Most 5.25-inch 1.2MB HD drives spin at 360 RPM at all times, but some are +dual spindle speed. A dual spindle speed drive spins at 360 RPM for +HD but slows down to 300 RPM for SD and DD. Teac 5.25-inch drives can +generally be set for dual spindle speed by changing a jumper, but +other brands may not have this ability. + +

Unfortunately, we did not understand the rotation speed issue when +gathering most of the information below. It's quite possible that +some controller that are recorded as not supporting FM at all were +actually tried only with 360 RPM 5.25-inch drives, and would have worked with +300 RPM 5.25-inch drives. It's also possible that some controllers that are +recorded as supporting FM were only tried with 300 RPM 5.25-inch drives and +won't work with 360 RPM 5.25-inch drives. This could also explain why different +people reported inconsistent results for some controllers. + +

Will not support single density (FM)

+
    +
  • Intel 82078 +
  • Intel 82091AA Super I/O +
  • Goldstar Prime 1 (?) +
  • NS PC87332 Super I/O (?) +
  • Motorola MCS3201FN (?) +
+ +

The Intel 82078 data sheet implies that the parts do not support +single density. The MFM bit in its command set is defined as (1 = +double density mode, 0 = reserved). On PC FDCs that do support FM, +setting this bit to 0 selects FM. Tim had a system that used a 82078 +on the motherboard, and FM did not work on it (he tried only a 360 RPM +drive). Similar wording is used on the 82091AA data sheet. + +

Amardeep has a card with the Goldstar "Prime 1" chip and +it does not read or write FM. + +

The NS PC87332 data sheet is not specific about whether FM is +supported. Amardeep tested the PC87332 and it failed to support FM in +a Dell XMT590. + +

Amardeep says: +I found a board with the Motorola MCS3201FN and it doesn't do FM. The +data sheet contains much contradictory information. Verbiage only declares +compatibility with IBM system 34 double density. But it also says the MFM +bit is (1 = MFM, 0 = FM) and selection tables show various FM data rates and +sector sizes. The electrical characteristics show only double density +ratings. +Don says: +The two examples that I have been exposed to +suggest that it does not support FM. + +

Will support single density (FM)

+
    +
  • NS PC87306 Super I/O +
  • NS PC87307/PC97307 Super I/O +
  • SMC FDC37C65 +
  • SMC FDC37C78 +
  • Intel 82077AA +
  • Intel 82077SL +
  • NS 8477 +
  • Goldstar Prime 2c or 3b +
+ +

The above NS and SMC parts are completely +stand alone with on board filters, write precomp generators, and data +separators. They should work with FM in any board implementation, +unless something specific is done to prevent it (not likely). This is +per the National and SMSC (new name for SMC semiconductor) data +sheets. Amardeep tested the NS PC87306 and SMC FDC37C65 using Jeff +Vavasour's Model 4 emulator and Tim Mann's xtrs 2.8 under Linux. They +both read and write FM with no problems. It is important to verify +the part number on the chip itself. Many of the newer NS parts +will identify themselves to software as PC87306, but may not +support single density. + +

Tim has a machine that uses the NS PC97307, and FM works just fine +on it. Tim used a 360 RPM drive, so 300 RPM drives should work with +this chip too. The PC87307/PC97307 data sheet is not specific about +whether FM is supported. Note that some software may incorrectly +identify these parts as PC87306. + +

The Intel 82077AA and 82077SL data sheet clearly states these parts +support FM. Again, verify the part number on the chip. Newer Super +I/O parts like Winbond W83877F or SMC FDC37C665IR may identify +themselves to software as 82077's but may have different characteristics. + +

The NS 8477 data sheet indicates that it does support FM (it is +functionally and pin for pin compatible with the Intel 82077). + +

A sewing machine/embroidery website +mentioned that "Goldstar Prime 2c or 3b chipset" controller cards can +be used to read single density embroidery diskettes. The URL is +http://www.wilcom.com.au/stestdsk.htm. + +

Implementation dependent

+
    +
  • NS 8473 +
  • NEC 765 +
  • Intel 8272 +
+ +

This category is meant for older chips that require external +components as part of the data separation logic (or that require +external components if FM is to be supported). Thus they may +or may not support FM depending on the implementation. + +

The 1988 data sheet for the NS 8473 states on page 8-32, "While the +controller and data separator support both FM and MFM encoding, the +filter switch circuitry only supports the IBM standard MFM data rates. +To provide both FM and MFM filters external logic may be necessary." +Don says: I have DTK FDC cards with the 8473 and read Osborne 1 +disks with them just prior to writing this. Amardeep says: I +have to recant my original statement that none of my 8473 boards +worked. All three of them do work (read/write/format) at this time. +Must have been an error on my part. + +

I believe the 765 was the chip in the original IBM PC, as discussed +above. Amardeep says: Intel 8272 is a NEC 765 clone and +therefore dependent on implementation. + +

Uncertain

+
    +
  • SMC FDC37C665IR +
  • SMC FDC37C665GT/FDC37C666GT +
  • Winbond W83877F, 977TF, 83977EF, or other Winbond parts +
  • UMC 8397 +
  • UMC 8398 +
  • UMC UM82C862F or other UMC Super I/O chips +
  • WD 37C65 +
+ +

Available information on these chips is contradictory. Perhaps +some individual chips of the same part number work with FM and some +don't, perhaps they have bugs that affect some software drivers and +not others, or perhaps there is a 300 RPM vs. 360 RPM problem in some +cases. More testing may be needed. + +

The FDC37C665GT and FDC37C665IR have very similar data sheets, and +neither mentions that FM is not supported. However, Pete has an +FDC37C665IR in one of his machines, and FM works on it; while Tim has +an SMC FDC37C665GT in one of his machines, and its FM support does not +work---it can neither read FM nor format FM disks that can be read by +other systems. Tim was using a 360 RPM drive, and Pete did not report +what kind of drive he was using, so it's possible that this was the +issue. + +

Amardeep says that the Winbond chips have never worked in FM on any +adapter or motherboard he's ever encountered them on; no idea if it's +the chip or the implementation. Pete says that on his ASUS board, the +Winbond W83877F actually will read and write FM but will not format +FM. Nick Andrew says that the Winbond 83977EF could only read some +sectors when he tried it with xtrs. Steve Tate said that a W83877AF +worked fine for him using 22disk. + +

Tony says: The data sheet claims the UMC 8398 will do FM or +MFM. In my experience it will correctly handle MFM disks (with both +standard and my own software). When you try FM, it almost +works. It just mangles the last byte in the sector. This is +(apparently) a known problem with this chip. Allison says: +The last byte mashed in the UMC is also common to most 765s and is related +to DMA read/write timing such that if you delay the DMA request by about +1-3uS (several FDD bit times) in FM mode it should work fine. +Amardeep says: The UMC 8398's data sheet says it +does support FM without any external components. Also, the 8397 could be +listed with it. It was the predecessor without high density drive support +for XT applications. Its data sheet also says FM support is provided. +Since Tony's and my testing shows FM tends to fail, and Allison believes it +is DMA related, "uncertain" may be the best category for them. + +

Amardeep says: UMC did make some Super I/O chips (UM82C862F) +but I couldn't find data sheets for them. I have two IDE/FDC/IO +paddle boards with that chip and neither handles FM. Allison +says: I have used UMC SuperIO chips to do FM with ease using the +internal data separator. + +

Don says: I have the WD 37C65 in the WD FOX card and +it will also read/write FM. Amardeep says: The only information +I have on the WD 37C65 is the Always IN2000 card I have with that +chip cannot read or write FM. The data +sheet shows there is really no external circuitry associated with data +separator or filters. Yet we have seen examples that pass and fail, so it +might be a revision thing or an untested feature, or DMA mangling or... + +


[16] What PC add-on cards can read single density (FM) and + other unusual formats? +

+ +

Several different types of add-on floppy controller cards +are available for the PC that will let you read floppy formats that +your built-in controller may not be able to handle, such as single +density (FM). + +

Sometimes an add-on floppy card will have a 765-compatible floppy +controller that supports FM. The Adaptec AHA1542CF SCSI hard disk +controller includes a floppy disk controller on the same card that +supports FM and works with both 300 RPM and 360 RPM drives; so do some +other Adaptec cards. This card is easy to use; you just plug it into +any spare ISA slot and disable your motherboard FDC. + +

The Catweasel universal floppy disk controller (see http://www.jschoenfeld.com/) +uses custom hardware that +can be programmed to handle just about any format. The software that +comes with the Catweasel can read Amiga, Apple II, and a bunch of +other obscure old formats. I've written a program for the Catweasel +that can copy any disk written by a TRS-80 to the DMK image format +(see topic [5], including single density and +"copy-protected" disks. It supports both 300 RPM and 360 RPM drives. +The program is now available on the Web at http://tim-mann.org/catweasel.html. It runs on Linux, +MS-DOS, and Windows 95; probably also Windows 98 and Windows ME. It +is untested on other versions of Windows, but probably will not run on +versions that keep tighter control over the hardware such as NT, 2000, +and XP; however, you can use it by booting off an MS-DOS floppy. +Catweasel cards were in short supply for a while, but as of July 2000 +they should be available for purchase again. + +

I've heard people mention the +MicroSolutions CompatiCard, but the +CP/M FAQ says that it is a +discontinued product, so you'd have to find a used one somewhere. +I don't know what chip it uses. + +

The Central Point Copy II +PC Option Board uses a custom chip and can copy many kinds of +disk, including FM, MFM, GCR, and even disks that used the "weak +bits" method of copy protection. This is also a discontinued product. +I had one of these on loan for a while and read the documentation, but +never found time to install it in a machine and try it. + +

I've heard that add-on floppy controller cards for the PC that are +specifically intended for disk duplication or for converting disks +from other kinds of machines often use Western Digital 17xx chips or +custom hardware that is more versatile than standard PC controllers. +I don't know specific model names or where to get these cards. + +


+[17] How can I add lowercase to a TRS-80 Model I? +

+ +

Displaying lowercase letters on a TRS-80 Model I requires both a +hardware modification and a software driver. If you aren't sure +whether you have the hardware modification, go into Basic and type +"POKE 15840,98". If you have lowercase, you will see a lowercase "b" +in the middle of the screen; if not, you will see a quotation mark. +If you need the hardware modification, the next section describes how +to install it; if not, +skip down to the section about software +drivers. + +

Lowercase hardware modification

+ +

A stock Model I has only 7-bit wide video memory. This is enough +for 6-bit, uppercase-only ASCII and the TRS-80's 6-bit graphics +characters, but not for lowercase. In a stock machine, the missing +bit6 is synthesized as !bit7 & !bit5. You can add a true 8th bit +using the following instructions. + +

You will need a low-power soldering iron, thin rosin-core solder, thin +insulated copper wire (such as wire-wrap wire), one 2102 static memory +chip (1K x 1 bit) and preferably a new character generator ROM. +The character generator replacement is needed to make the modified machine +compatible with the Level II Basic ROM's display driver and to give it true +descenders on lowercase letters. If you don't have a new character generator, +you will need to install an SPDT switch to turn off the mod when using +Level II Basic or other software that doesn't have a lowercase driver, +and your lowercase g, j, p, q, and y (and maybe a) will be shifted up +a couple of pixels from the baseline. + +

New: +M.A.D. Software is advertising Model I lowercase +modification assemblies on their +Garage Sale page! +These should include the 2102 and the character generator ROM, but +check with M.A.D. Software before ordering to be sure. + +

Turn your TRS-80 keyboard unit face down on a cloth, and remove the six +bottom screws, being careful to note which went where. Now turn it face +up and lift off the cover. Lift up the keyboard, being careful not to +pull the ribbon cable at the left front loose. Remove the plastic spacers +between the two boards, and lift out the boards, setting them down with +the component side of the logic board up. + +

Find Z45 in the lower left corner of the board. The new 2102 will be +mounted piggyback over this one. Bend pins 11 and 12 of the new 2102 +straight out, and set it over Z45. Solder (quickly, with low heat) each +pin of the new 2102, except 11 and 12, to the corresponding one on Z45. + +

Find Z30. From its left side run three traces, a narrow one between +two wide ones. Cut through the narrow one with a sharp knife, being +sure to break the connection completely without damaging other traces. +(This trace connects Z30 pin 13 to Z60 pin 4.) + +

If you don't have a replacement character generator: Find a +mounting place for the SPDT switch where you will be able to get to it +after the case is reassembled. Run a wire from pin 11 of the new chip +to Z60 pin 5. Run a second wire from Z60 pin 4 to the common terminal +of the switch. Run a third wire from another terminal of the switch to +Z30 pin 13. Run a fourth wire from the remaining terminal of the +switch to the new chip's pin 12. One switch position will now give you +uppercase only but will work with Level II Basic; the other will give +you lowercase in software that has a lowercase driver and meaningless +symbols in software that doesn't. + +

If you do have a replacement character generator: Run a wire +from pin 11 of the new chip to Z60 pin 5. Run a second wire from pin +12 of the new chip to Z60 pin 4. Remove the old character generator +ROM chip (Z29) and replace it with the new one. I think Z29 was +socketed, but if it isn't, you will have to very carefully desolder it +without overheating the PC board and making the traces lift, and +preferably without overheating the old chip in case you need to use it +again. I suggest installing a socket for the new chip. + +

Reverse the disassembly procedure to put your machine back together. If +you kept the old CG ROM and installed a switch, try both switch positions +to see what they do. If anything doesn't work, go back and carefully +recheck your wiring. + +

Lowercase software drivers

+ +

The display driver in the Model I Level II Basic ROM forces everything to +upper case. In fact, it actually writes ASCII codes between 0x00 +and 0x1f into the video RAM and expects them to display as uppercase +letters. That's why you get meaningless symbols if you don't replace +the character generator: the standard character generator has those +symbols in positions 0x00 to 0x1f, but you can't see them until you +add the 8th bit of video memory. + +

TRSDOS uses the ROM driver, but alternative operating +systems like LDOS and Newdos include a lowercase driver, as do +many other programs. Usually these programs will detect and use +lowercase automatically if it is present. + +

It is possible to add a lowercase driver to TRSDOS or even to +cassette-based Level II Basic. In the future I'll probably add +a listing of such a driver here. + +


+

+ [18] My Model 4 or 4P has video problems in Model 4 mode, but + is fine in Model III mode. How can I fix it? +

+ +This answer is based on material contributed by David Gish +(gish@gomemphis.com) and others. + +

The model 4/4P uses two different methods for generating horizontal +sync pulses for the monitor, depending on whether it's in 64 character +mode (Model III) or 80-character mode (Model 4). In 64-char mode, +horizontal sync is derived from the master clock, which is regulated +by a crystal and thus very stable. However, in 80-char mode a +Phase-Locked Loop circuit (PLL) is used to generate the signal, and it +drifts out of calibration over time. This can result in display +wrap-around or a total loss of sync. There is a trimmer capacitor that +can be adjusted to fix it. + +

The biggest problem in making the adjustment is getting to it with +the power turned on so that you can see what you're doing. The trimmer +cap is on the motherboard, with no access from outside the case. On +the Model 4, it's near the top at the back, but the case and a metal +shield are in the way. On the Model 4P, it's near the front of the +CRT, but just far enough under it that you can't get to it with a pot +tweaker. + +

If some of the terms below leave you behind or the procedure sounds +scary, you should definitely not tackle this yourself -- take it to a +friend who's a hardware techie. Warning: whenever you have the case +open, be careful what you touch, especially with metal objects. +You can get a shock even if power is off, and if power is on, a metal +object touching the wrong two contacts could easily short out the power +supply and fry it. + +

Model 4

+ +

1. Unplug all cables from the computer. Position the computer on its +back panel to provide access to the case bottom. Remove the ten +screws from the case bottom, noting carefully which went where for +later reassembly. + +

2. Position the computer upright and remove the screw and washer +from the top of the back panel. + +

3. Position the computer upright with the video screen towards +you. Very carefully remove the case top, +lifting straight up, looking into the case through the vent holes and +the disk bay openings to be certain that you do not catch +the neck (back end) of the picture tube on anything. It is all too +easy to break the picture tube, a very expensive mistake. Once the +tube is clear, rotate the case top 90 degrees counterclockwise +and set it down to the left of the base, being careful not to +overstretch the connecting cables. + +

4. Remove the internal metal shields as needed to gain access to +the main circuit board. + +

5. Turn the machine on and boot it into Model III (64-column) mode. +It's adequate to go into cassette Basic by holding down the Break key +and pressing the orange reset button. Type enough commands to fill +the screen with text. + +

6. Adjust the monitor's horizontal sync back and forth until the picture +breaks up in both directions, then set the adjustment to the middle of +this range. This completes the Model III mode adjustment. + +

7. Insert a TRSDOS-6.x disk and boot the system to place it in 80-column +mode. Type the date and then do a DIR to fill the screen edge-to-edge (if +the screen's unreadable, you'll have to type blind). + +

8. Find the trimmer cap. Early (non-gate-array) versions may not +have this cap; it does not appear in the Model 4 Technical Reference +Manual, 1983 edition. Hopefully this video problem does not occur on +those machines. On gate array machines, it should be approximately +3 inches from the left of the main circuit board when viewed from the +back, and should be labelled C210. + +

9. Adjust the trimmer. You'll need a small pot tweaker, preferably +a non-metallic one. You shouldn't have to adjust it much; it's very +sensitive. Turn the brightness up so you can see the whole raster +pattern and set the trimmer so that the image is stable and centered +in the pattern, with no bent or warped edges. + +

10. Turn the power off and unplug the machine. + +

11. Reassemble the machine -- you did pay attention to how it came +apart, didn't you? Again be very careful not to damage the picture +tube. + +

Model 4P

+ +

1. Remove the case and front bezel. The main case is held on by screws +near the front and two large ones under the handle. The front bezel is +held on by several screws inside the case. + +

2. Remove the top of the monitor enclosure. + +

3. Turn the machine on and boot it into Model III (64-column) mode, +or just reboot it with no disk and wait for the multi-lingual "insert +disk" screen to appear. + +

4. Adjust the monitor's horizontal sync back and forth until the picture +breaks up in both directions, then set the adjustment to the middle of +this range. The picture should centered and clean. Replace the top of the +enclosure. + +

The PLL adjustment must be done with power on while observing the +screen, since it is very sensitive. This means that the cables all +need to be hooked up at the time. To access the trimmer cap you have +to shift the motherboard forward enough to move the trimmer beyond the +front of the CRT, but still have the critical cables connected. This +is impossible with the factory-supplied disk drive cable connected at +the rear, but the disk drive needs to be connected in order to boot +the system into 80-column mode! + +

David Gish came up with the plan below, which works but involves +disconnecting the disk drives from the +motherboard with power on. This is not generally +recommended, except as a last resort. If you do this, follow the +indicated steps carefully to minimize the risk. + +

An alternative solution is to replace the factory cable with a +longer one so that you don't have to unplug it. If you do that, you +can change to the longer cable after step 7, then omit steps 11 and +12. + +

5. Turn the machine off and lay it on its left side. Keep it on its side +for this entire procedure. + +

6. Remove all mounting screws from the motherboard. It should now be +loose, but will not move much due to the cable connections. + +

7. Apply electrical tape to the edge connectors at the rear of the +motherboard to prevent shorting these against the frame while moving the +motherboard around. + +

7a. If you have a longer disk drive signal cable, replace the +factory cable with it at this point. See topic [19] +for information on making cables. + +

8. Carefully examine the motherboard to be sure nothing else is shorting +against the frame and turn the machine on. + +

9. Insert a TRSDOS-6.x disk and boot the system to place it in 80-column +mode. Type the date and then do a DIR to fill the screen edge-to-edge (if +the screen's unreadable, you'll have to type blind.) + +

10. Remove the TRSDOS disk. + +

10a. If you replaced the factory disk drive cable with a longer one +(step 7a), you can now skip the somewhat dangerous steps 11 and 12 and +go directly to step 13. + +

11. Carefully unplug the power connectors from both disk drives. This is +to prevent damage during the next step. (Warning: There is an unshielded, +solid-metal fan in this area cooling the monitor enclosure!) + +

12. Carefully disconnect the disk drive interface ribbon cable from the +motherboard. This will free the back of the board and give you enough play +to move it forward. + +

13. Move the motherboard out and forward, paying close attention to the +rear edge connectors. Now you know the reason for the tape. Watch all +cables while doing this to make sure you're not over-stretching them. + +

14. Eventually, you should be able to expose the trimmer cap enough +to make the adjustment. It is probably labeled C231. You'll need a +small pot tweaker, preferably a non-metallic one. You shouldn't +have to adjust it much since, as mentioned above, it's very +sensitive. Turn the brightness up so you can see the whole raster +pattern and set the trimmer so that the image is stable and centered +in the pattern, with no bent or warped edges. (Note: another source +suggests removing the jumper from E1/E2 and putting on in E9/10 while +making the adjustment, then moving it back to E1/E2 when you're done.) + +

15. Turn the power off and unplug the machine. + +

16. Remove the tape on the motherboard connectors and reassemble the +machine -- you did pay attention to how it came apart, didn't you? +Remember to reconnect the disk drive power and data cables. + +


+

+ [19] I want to add or replace TRS-80 floppy disk drives. + What's going on with the setup and cabling? +

+ +

Cabling a TRS-80 disk drive is a bit tricky. It works differently +from a PC, and there are some differences among the TRS-80 models, +and differences between the Radio Shack way of doing things and other +ways that are sometimes used. I'm sorry there is so much detail here, +but I don't really see how to condense it to a cookbook "just do this" +approach, since there are several things you might want to do with the +information. + +

Generally, Radio Shack handled drive select by pulling pins in the +cable connectors. On the Model I, each drive was internally jumpered +to respond on all four different drive selects, the three standard +ones from the Shugart definition (pins 10, 12, 14) and one extra one +that R.S. defined (pin 32, which later was officially defined as side +select for two-sided drives). On the cable, there were four drive +connectors, and each had a different one of those four pins left, with +the other three removed. On the Model III and 4, the internal drives +and external drives were cabled separately, so it was not necessary to +use four different pins for drive select. Instead, the first two +drives are pins 10 and 12 on the internal cable, while the other two +drives are pins 10 and 12 on the external cable. However, the +pin-pulled system is still used. + +

An alternative way that many users switched to was to use a plain +cable with all 34 pins intact. Then you have to open up each drive +and make sure that a different drive select is jumpered on each one. +Usually they are jumpers marked DS1, DS2, DS3 (and sometimes also +DS4) or DS0, DS1, DS2 (and sometimes also DS3). Many drives don't +have a jumper for the fourth drive select. Drives that were intended +for Radio Shack Model I systems may have pin 32 hardwired instead of +using a jumper, so beware. + +

If you want to use double-sided drives on a TRS-80, you may +have to switch to the pins-intact system in order to bring side +select to every drive. If you have some single-sided drives in the +system, make sure that none of them have pin 32 interally hardwired to +one of the drive selects. TRS-80 Models III, 4, and 4P have +side-select support implemented in the floppy controller and brought +out to pin 32. On the Model I, if you limit yourself to three drives, +you can use the fourth drive select as a side select, as it's +conveniently already wired to the correct pin. LDOS and probably +other Model I operating systems support this. (Let me emphasize that +if any of the drives in a real Model I system is double sided, you can +have at most three drives. Some Model I emulators allow you to have a +fourth drive, but that drive definitely must be single-sided.) + +

Pre-made cables and new drives that are commonly available today +usually use the PC system. A PC floppy drive cable has a twist in it +between the two drive connectors (there are always only two). The +twist allows both drives to be jumpered the same way, and allows the +PC to control the motors on the two drives separately. Both drives +are jumpered for drive select on pin 12 (DS2) and motor control on pin +16 (MOT), but the twist reverses the order of pins 10, 12, 14, and 16 +on the first drive, effectively moving its drive select to pin 14 and +motor control to pin 10. A PC-style cable won't work properly with a +TRS-80, because the TRS-80 controller always sends motor control on +pin 16, not pin 10, but it's easy to find ribbon cable and +insulation-displacement (IDC) connectors to make up your own straight +cable if you need one. Or if you only need to connect one drive, you +can plug it into the connector before the twist. Because of this +system, new drives are always jumpered for DS2 by default, but they +can usually be changed. Occasionally you may find a newer drive that +is hardwired for DS2 and has no jumpers; you might be stuck cutting +traces and soldering if this happens to you. + +

Also see the article Utilizing 5.25-inch or 3.5-inch media on your Tandy/Radio Shack computer system +on Frank Durda IV's web site. This is mostly about replacing +8-inch drives with 5.25-inch or 3.5-inch drives, but has some other useful +information too. + +

People sometimes also ask about the other internal jumpers in +TRS-80 floppy drives. The exact jumpers that are present vary +depending on the drive manufacturer, but here are some typical +settings. MX or MUX should be open (off); it causes the drive to +ignore drive-select and always respond. HM should be closed (on); it +causes the heads to load when the drive motor turns on. HS should be +open (off); it causes the heads to load only when the drive is +selected (mutually exclusive with HM). + +


+ [20] What about using high density (1.2MB 5.25-inch or 1.44MB 3.25-inch) drives + on a TRS-80? +

+ +

There are two things you might want to do: (1) treat the drive as +single/double density, or (2) use the drive's high density capability +with a TRS-80 floppy controller that was designed for 8-inch drives, if +you have one. + +

(1) Both high density and double density 3.5-inch drives spin at 300 +RPM like a double density 5.25 drive, and 3.5-inch double density uses the +same data rate as 5.25-inch double density, so a 3.5-inch drive makes a +compatible replacement for a 5.25-inch drive. The 3.5-inch drive will be +double sided with 80 tracks per side, which most TRS-80 software can +handle. You will have to be sure that the internal jumpers are set +correctly, and that there is no confusion about the Disk Change output +from the drive (not used on a TRS-80), or the High Density signal +(which may have to be wired correctly to make sure the drive uses the +correct write current). If you have a drive you'd like to use but +don't have documentation on its jumpers, search the Web to see if the +drive manufacturer has a Web site that you can get the information +from. For example, Teac does. Also be sure to use the appropriate +media; see topic [14]. + +

A high-density 5.25-inch drive spins at 360 RPM, not 300 RPM, so it +can't be used directly as a replacement for a 300 RPM TRS-80 drive. +However, some models of 5.25-inch drive have dual-speed motors and can be +jumpered to run at 300 RPM when in double density mode. For example, +the common Teac +FD55GFR drives can do this. If you have a drive you'd like to use +but don't have documentation on its jumpers, search the Web to see if +the drive manufacturer has a Web site that you can get the information +from. Again you'll have to be careful about cabling the Disk Change +and High Density signals. The manufacturer's documentation for your +drive should be helpful here. + +

(2) If your TRS-80 has an 8-inch disk controller, you can try +treating a high-density drive as an 8-inch drive. This should more or +less work, but I haven't tried it and can't give detailed help. You +would have to make an adapter cable from the 50-pin card edge +connector to the 34-pin connector on the drive. The +CP/M FAQ provides +some useful information for making such cable (see Q14 and Q16). A +5.25-inch HD drive spins at 360 RPM just like an 8-inch DD drive, uses +the same data rate, and has 80 tracks (vs. 77 for an 8-inch drive), so +it makes a compatible replacement. There could be minor issues +because 8-inch drives spin continuously and load/unload the heads when +active, while 5.25-inch drives always have the heads loaded but are +spun down when not active. + +

A 3.5-inch HD drive spins at only 300 RPM, but does use the same data +rate and does have 80 tracks. Some software may tolerate a 3.5-inch HD +drive in place of an 8-inch drive, but only the first 5/6 of each track +will be used. Formatting may write arbitrary garbage to the remaining +1/6; hopefully this will not be anything that will cause confusion +when trying to read the first 5/6, but that can't be guaranteed. + +

Also see the article Utilizing 5.25-inch or 3.5-inch media on your Tandy/Radio Shack computer system +on Frank Durda IV's web site. This is mostly about replacing +8-inch drives with 5.25-inch or 3.5-inch drives. + +


+ [21] What about using low density (360KB 5.25-inch or 720KB 3.25-inch) + drives on a PC? +

+ +

Generally this should work fine, but there are a few problems to +watch out for: + +

Check the cabling. A drive pulled out of an old TRS-80 will be +expecting drive selection to be handled differently from the PC method; +see topic [19]. + +

Set the correct drive type in your +BIOS! Both operating systems and TRS-80 emulators need to know the +drive type in order to use the correct read/write data rate. There is +no way to autodetect this information, so software has to believe the +BIOS settings. If they are wrong, reading and writing will fail in +odd ways. + +

Amardeep S. Chana reports: +There is a problem in Jeff Vavasour's emulator code (both Model 4 +and CoCo II, and their support utilities) that incorrectly operates a 360K DD +drive on a HD capable controller. I think what it does is use 300Kbps +data rate instead of 250Kbps. You can create disks and read/write to +them, but a real TRS-80 can't read them. Disks created on a real +TRS-80 won't read on the PC, either. +Using a 1.2MB drive does not show this problem. Using a 360K drive on +an XT-type controller does not show this problem either. Setting the +CMOS type of the 360KB drive to "720K 3.5-inch" also makes the problem +go away. + +


+ [22] What are some other good on-line references for detailed information + about floppy disks and drives? +

+ + + +

+ [23] How do I determine what PDRIVE settings to use for a + NEWDOS/80 disk? +

+ +

This question comes up a lot, but I'm a complete LDOS bigot with no +NEWDOS/80 experience, so I'm not equipped to answer it. Here is some +information kindly supplied by others: + +

Answer by Nick Andrew

+ +

Let's say you +have a diskette, no idea whatsoever how it is formatted. + +Notes: +

    +
  • This process may only work on NEWDOS/80 diskettes +
  • SD diskettes are usually 10 sectors/track +
  • DD diskettes are usually 18 sectors/track +
  • For double-sided, multiply number of sectors by 2 +
  • DD diskettes usually format track 0 single density, and 1 fewer DD + track +
  • I assume user has an 80tk DSDD drive and it's not drive 3 (which + on a Model I can only be single sided) +
  • When changing PDRIVE settings, remember to add A on the end to + activate it +
  • Quick way to copy PDRIVE settings which is not shown in the online + NEWDOS/80 manual is "PDRIVE 0 2=9" which will copy from #9 into #2 +
  • User is using NEWDOS/80 v2 with ZAP/CMD +
  • Reading sectors on superzap:
    + "dd"
    + "2,0" (e.g. drive 2, sector 0)
    + "+" and "-" to step forward and back, "k" to choose another + sector,
    + "x" to return to the menu (or you can type "EXIT" while sector + browsing) +
+ +

+a1. set pdrive to double sided single density 10 sectors/track
+a2. use zap read sectors 0 through 5
+a3. if sector 5 fails, you have a double-density diskette, track 0 SD, +go to b1.
+a4. read sectors 6 through 10.
+a5. if sector 10 fails, you have a single-sided single-density +diskette. go to c1.
+a6. if sector 10 is identical to sector 0, you have a side-select +problem (on a Model I, drive 3 can be single-sided only)
+a7. read sectors 11 through 20.
+a8. if sector 20 fails, you have a 40 track diskette.
+a9. look for the directory track. Look at sector 0 byte 2. Also try +disk sectors 170, 340, 400, 800 looking for the 'P' marker on the sector. + +

+b1. set pdrive to DSDD 18 sectors/track
+b2. read sectors 0 through 18.
+b3. if sector 18 fails, you have a single-sided diskette.
+b4. read sectors 19 through 36.
+b5. if sector 36 fails, you have a 40 track diskette.
+b6. look for the directory track. Look at sector 0 byte 2. Also try +disk sectors 170, 340, 400, 612, 720, 800, 1440 looking for the 'P' +marker on the sector. + +

+c1. set pdrive to SSSD 10 sectors/track
+c2. read sectors 0 through 10.
+c3. if sector 10 fails, you have a 40-track diskette.
+c4. look for the directory track. Look at sector 0 byte 2. Also try +disk sectors 170, 400 looking for the 'P' marker on the sector. + +

Answer by Phil Ereaut

+ +

In Newdos the mysterious Pdrives are just information for each drive, +such as, No. of tracks, Single or double density, Single or Double +sided, and a few other parameters needed by the DOS to interface with +that that disk on that drive. + +

The pdrive information can be displayed by the command "Pdrive 0". +Unfortunately, this display does not really mean much to anyone who +has not read and understood the manual. + +

The first line of the display may be: + +

+0*  TI = A, TD = E, TC = 40, SPT = 18, TSR = 00, GPL = 2, DDSL = 17, DDGA = 2
+
+ +

This would be a Drive 0, 40 Track, 5 Inch, Single sided, Double +Density disk. + +

Generally, the settings for standard type disks are much the same, but +a few people along the way, used many and varied settings for their +GPL, DDSl, etc, which can makes it difficult to read, if you get one +of these disks. + +

A Newdos Pdrive table is kept on each disk at, Track 0, Sector 2. +ONLY the table on the SYSTEM disk is used for the drive settings. It +has 10 rows of 16 bytes each, from 00 - 9F hex. Each row is the Pdrive +values 0 to 9 as shown when a "Pdrive 0" command is done. These are +the permanent Pdrive parameters, kept on the SYSTEM disk. + +

The number of these actually used is dependant on the number of +drives in use on the system, and are termed active drive slots. The +others are spares, which can be copied to the active drive slots to +allow different type of disks to be used in those drives. +This is done by using the Pdrive command. Example: + +

+pdrive 0,1=6,A
+
+ +

This command moves the values stored in slot 6 to Slot 1. The ,A +causes the change to be made in memory as well as to disk. +If ,A is not used, the change is made only on disk and thus does +not take effect until the next time you reboot. +[Note: information about ,A corrected by Robert Kircher. Thanks.] + +

New single Pdrive parameters also can be input, and saved in the +table. Example: + +

+pdrive 0,1,TD=G,DDSL=20 
+
+ +

This command changes the parameters in slot 1 on disk only. +Adding the ,A at the end of the command would also make the change in memory. + +

A Pdrive table is on every disk, but it is only the table on the +SYSTEM disk that is used by the System. One use for this table on a +NON SYSTEM disk can be to determine the Pdrive's of this particular +disk. Usually, on a non system disk, the top Pdrive shown is the +Pdrive settings for that disk. (Even though it is not used by the +System for that disk) This allows us to read these settings with a +machine language program, and display the settings of an unknown disk. + +

The following contains information about the parameters, and where +they are obtained from. It is not necessary to know ALL of this to +use Pdrives. A general understanding of the parameters shown in the +displayed Pdrive table, and use of some the tables below to interpret +the letters, etc, such as, TI = A is all that is required. Some of +the settings are as shown in the byte; others use bit mapping of the +byte to store the values. Bytes bit mapped are: 02, 07, 0D and 0E, 0F + +

The table is set up as shown for row 0 (Shown in Hex): + +

+00    01    02   03   04    05   06   07   08   09   0a   0b  0c   0d  0e   0f
+DDSL Lumps  *    TC   SPT   GPL       *   DDSL DDGA           TSR  - TI -   TD
+11    48    04   28    12   02   00   01   11   02   00   00   00  01  00   04
+
+ +

This would be shown in the displayed pdrive table using "Pdrive 0" as +follows. (Values are displayed in decimal.) + +

+0*  TI = A, TD = E, TC = 40, SPT = 18, TSR = 00, GPL = 2, DDSL = 17, DDGA = 2
+
+ +

This would be a 40 Track, 5 Inch, Single sided, Double Density disk. + +

+DDSL  = Disk Directory starting lump
+Lumps = Total lumps on disk
+TC    = Track Count: No of tracks on disk
+SPT   = Sectors per Track
+GPL   = Granules per Lump
+DDGA  = Disk Directory Granule Allocation: No of Granules used by the Directory
+TSR   = Track step rate: Speed of stepping between tracks
+TI    = Shows interface type, and other required parameters.
+TD    = Shows Disk size, Density, No of sides, SPT
+
+Byte 02 (TI & Tsr)                 
+Bit 0 = TSR
+Bit 1 = TSR
+Bit 2 = A  or E (Bits 2&4) or B (Bits 2&3)
+Bit 3 = D  or B (Bits 2&3)    
+Bit 4 = C  or E (Bits 2&4)                    
+Bit 5 = M                    
+Bit 6 = K
+Bit 7 = H
+
+Byte 07
+Bit 0 = 8 Inch Disk
+Bit 1 = Double Sided
+Bit 2 =
+Bit 3 = I (Lowest track sector is 1)
+Bit 4 =
+Bit 5 = L (Two steps between tracks)
+Bit 6 = K & J (Track 0 Opposite Density)
+Bit 7 = Double Density
+
+Bytes 0D & 0E (TI)
+Byte 0D                            Byte 0E
+Bit: 7  6  5  4  3  2  1  0        7  6  5  4  3  2  1  0
+     H     I  E  D  C  B  A                 M  L  K  J  I       
+A = Standard Interface
+B = Omnikron
+C = Percom Doubler
+D = Apparat Disk Controller
+E = LNW type
+H = 8 Inch drives only. Head settle to be done
+I = Lowest sector on Track is 1 (Model3 Trsdos)(Set by flag M)
+J = Track No's start from 1 (Is set by K)
+K = Track 0 formatted in opposite density to other tracks (Flag J is
+    set by flag K)
+L = Two steps between tracks. Allows 40 Track disks to be read on 80
+    Track drive
+M = Standard Trsdos Model 3 (Flag M sets flag I)
+
+Byte 0F (TD Parameter)
+Bit 0 =  A : 5 inch   Single Density     Single Sided     10 Secs per Track
+Bit 1 =  B : 8 inch   Single Density     Single Sided     17 Secs per Track
+Bit 2 =  C : 5 inch   Single Density     Double Sided     20 Secs per Track
+Bit 3 =  D : 8 inch   Single Density     Double Sided     34 Secs per Track
+Bit 4 =  E : 5 inch   Double Density     Single Sided     18 Secs per Track
+Bit 5 =  F : 8 inch   Double Density     Single Sided     26 Secs per Track
+Bit 6 =  G : 5 inch   Double Density     Double Sided     36 Secs per Track
+Bit 7 =  H : 8 inch   Double Density     Double Sided     52 Secs per Track
+(Note that NEWDOS uses the term "track" to mean "cylinder" -- that is,
+for double-sided diskettes, NEWDOS counts sectors on both sides of the
+disk as part of the same "track".)
+
+ +

Normally the disk is mapped in Tracks, Sectors, and granules. Newdos +uses a different method of disk mapping, using Lumps, in place of +Tracks. These lumps can overlap tracks, starting on one track and +ending on the next track. This can be confusing (only to us; the DOS +knows what it's doing), particularly with the directory, which starts +on a particular lump, not on a particular track. + +

In the example shown above: Sectors per Granule = 5 (Standard for +Newdos): Gpl = 2. Therefore there are 10 sectors per lump. The +Directory starts on lump 17, (DDSL = 17). Therefore the Directory +starts on sector 170. As each track has 18 sectors, the Directory +starts on Track 9 Sector 8. This does not really worry the average +user, as the System does all the work. Only those of us who are silly +enough to play around with this stuff, really care whether it is +tracks, or Lumps, or Doughnuts. + +

For more NEWDOS/80 information

+ + + +

+ [24] How do I make a bootable double-density Model I LDOS 5.3.1 + system disk from the single-density master disk set? +

+ +Here is one procedure that works: + +
    +
  • Put the single-density LDOS master disk in drive 0. +
  • Put a blank disk in drive 1. +
  • Boot. +
  • Type FDUBL (TANDY) or +FDUBL (PERCOM), depending on whether you have a +Tandy or non-Tandy double density adaptor. If you are doing this +procedure on an emulator rather than a real machine, check which type +of adaptor it is emulating. +
  • Type FORMAT :1 (SYSTEM) +
  • Answer the questions that FORMAT asks. +
  • Type SOLE :1 +
  • Type BACKUP :0 :1 (SYS,INV) +
  • Type SYSTEM (DRIVE=1,SYSGEN) +
+ +

The disk in drive 1 is now a bootable, double-density LDOS system disk. +Test it as follows: + +

    +
  • Remove the LDOS master disk from drive 0. +
  • Move the new disk from drive 1 to drive 0. +
  • Boot. +
+ +

At this point you may want to put the remaining LDOS files from the +LDOSXTRA disk onto your new boot disk: + +

    +
  • Insert the LDOSXTRA disk in drive 1. +
  • Type BACKUP :1 :0 (SYS,INV) +
+ +

+ [25] What about using 8-inch drives on a PC? +

+ +

It's surprisingly easy to use an 8-inch drive on a PC. An 8-inch +drive looks electrically very similar to a 5.25-inch HD (1.2MB) drive: +it spins at 360 RPM, has 77 (vs 80) tracks, and the data rate is the +same. The main difference is that 8-inch drives use an older 50-pin +version of the Shugart bus, so you will need a 34- to 50-pin adapter. +The CP/M FAQ provides some useful information for making such cables, +but watch out for the difference between the IBM PC "twisted cable" standard +and the original Shugart SA400 34-pin bus. At this writing, Q14 in +the CP/M FAQ gives wiring that is right for the old bus but wrong for +the IBM PC version. See Q16 for the changes that IBM made. +You can also buy a nice pre-made adapter from D-Bit (see +http://www.dbit.com/fdadap.html), but I haven't tried these. +There could be minor issues because 8-inch drives spin continuously +and normally load/unload the heads when active, while 5.25-inch drives +always have the heads loaded but are spun down when not active. +However, when I tried this, I didn't experience any problems. + +

As with all floppy drives, the BIOS settings are important. +Tell the PC BIOS that your 8-inch drive is a 5.25-inch 1.2MB drive, +and it should be happy. + +

You can also plug an 8-inch drive into a Catweasel card (see topic +[16]) using the same type of 34- to 50-pin adapter +discussed above. I have one set up this way and working. + +


+ [26] How can I read the back of a disk that was written in a + flippy drive? +

+ +

A flippy drive has one head, two write-protect sensors, and +two index-hole sensors. You can put an ordinary floppy disk into it +with either side up and read/write to that side. To access the other +side, you have to remove the disk and turn it over. +This is a similar concept to the "flippy disk", but there the +disk is special: it has two index holes in the jacket and two +write protect notches, so you can put it into an ordinary 1-sided +floppy drive with either side up. + +

If you have a disk that was written in a flippy drive, but you +don't have any flippy drives, reading it will be difficult, and +writing to it even more difficult. Technically, the index hole signal +shouldn't be needed in order to read or write an ordinary floppy disk, +only to format it (though the signal may be needed to read or write +certain unusual formats). So if you only need to read/write the disk, +you might expect to be able to put it in an ordinary drive upside down +and have it just work. Unfortunately, this doesn't work on drives and +disk controllers made for modern PCs. Modern drives often have +circuitry in them that refuses to send any data to the controller +unless the drive has seen the index hole go by a few times and can tell +that the motor is up to speed. Also, the controller itself may refuse +to accept data until it has seen some index pulses. + +

You also might think of trying to read the back of a flippy using +the second head in a regular 2-sided drive. This doesn't work for two +reasons. First, the disk is spinning the wrong way, so the stream of +clock and data bits comes out in reversed order, and a regular floppy +disk controller can't decode it. It's possible to program a Catweasel +to decode the reversed data, but the back head in a 2-sided drive is +offset inward slightly from the front head, so it cannot be positioned +over the data from the first couple of tracks on the back of a flippy. +When the head is against the track 0 stop, it's reading track 2 or 3; +the lower numbered tracks are unreachable. Because of this problem, my +Catweasel Floppy Read/Write Tools don't +attempt to decode data from the back of a flippy, but they do have a +feature that detects if there is reversed data on the back and +prints a message reading "Possibly a flippy disk; check reverse side +too". + +

Here are a few ways to read (and possibly write) the back of a +flippy: + +

(1) The easiest way is to take a hole punch and carefully punch an +extra index hole (in both sides of the jacket, but not in the +magnetic media!) and an extra write protect notch. The easiest way to +see exactly where the holes should go is to take the magnetic media +out of an extra disk that you don't mind destroying (so that you can +see through the jacket's index hole) and use that as a template. + +

(2) If you are good with electronics, you may be able to modify a +drive to generate fake index pulses. See http://siliconsonic.de/t/flipside.html for one modification idea. +Although the page about the modification refers to the Catweasel, a +drive modified in this way should work with a standard PC floppy disk +controller too. Note that the fake index pulses don't come at the +same point in the disk's rotation as the real index pulse would. This +should not be a problem unless you are dealing with one of the rare +special formats that depends on index pulse position. + +

(3) If you have a Catweasel and you use my Catweasel Floppy Read/Write Tools, the -h0 +flag will let cw2dmk read a disk even if the Catweasel doesn't receive +any index pulses. However, you still need to have a drive that will +send data to the Catweasel even when the drive doesn't see any index +holes. An old, TRS-80 vintage drive should work. A newer model of +drive that will work is the Mitsubishi MF504B or MF504C, if you open +the drive up and remove the jumper marked RD. Currently dmk2cw +doesn't support writing to a disk without using the index hole. + +


+

** End of TRS-80 Model I/III/4 FAQ ** + + --- xtrs-4.9c.orig/debian/control +++ xtrs-4.9c/debian/control @@ -0,0 +1,31 @@ +Source: xtrs +Section: contrib/otherosfs +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Branden Robinson +Build-Depends: libncurses5-dev, libreadline-dev, libx11-dev, groff, debhelper (>= 5), po-debconf, html2text +Standards-Version: 3.7.3 + +Package: xtrs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: emulator for TRS-80 Model I/III/4/4P computers + xtrs is an X-based emulator for the Tandy/Radio Shack line of Zilog + Z-80-based microcomputers popular in the late 1970s and early 1980s. It + features cassette, floppy, and hard drive emulation, timer interrupt + emulation, file import and export from the host operating system, support for + most of the undocumented Z-80 instructions, and a built-in debugger. Real + floppy drives can be used, and, if an OSS-compatible sound driver is + available, application-based sound can be played and real cassettes read and + written directly through the sound card or via WAVE files. Several hi-res + graphics cards are emulated and, in Model 4/4P mode, mice are supported. + There is also real-time clock, sound card, serial port, joystick, and CPU + clock speedup emulation. + . + xtrs requires ROM images from the original machines. The ROMs are + copyrighted by Radio Shack and are not freely licensed. (Exception: in Model + 4P mode, a freely licensed boot ROM included with this package can be used to + boot a Model 4 operating system from a diskette image.) +# $Id: control 118 2008-02-07 05:09:37Z branden $ +# +# vim:set ai et sw=2 ts=2 tw=78: --- xtrs-4.9c.orig/debian/dirs +++ xtrs-4.9c/debian/dirs @@ -0,0 +1,7 @@ +# $Id: dirs 117 2008-02-07 05:08:51Z branden $ +usr +usr/bin +usr/share/doc +usr/share/man +usr/share/man/man1 +usr/lib/xtrs --- xtrs-4.9c.orig/debian/README.Debian +++ xtrs-4.9c/debian/README.Debian @@ -0,0 +1,74 @@ +The xtrs package will not function as it ships because it requires a ROM image +from one of the original TRS-80 Model I, III, 4, or 4P computers to operate. +Because of licensing restrictions on the ROM images, they cannot be distributed +with this Debian package. You will need to obtain one or more ROM images and +install them where xtrs expects to find them for the program to work. See +/usr/share/doc/xtrs/README.contrib-only for more information. + +The Model 4 emulation mode uses the Model III ROMs, so xtrs will have full +functionality if you have one ROM each from the Model I and Model III computers. +The Model 4P had no BASIC interpreter ROM, but instead had a boot ROM and could +load the standard Model III ROM from a file shipped with the operating system. +There is, on the other hand, a freely-licensed minimal 4P boot ROM provided with +xtrs that can bootstrap a Model 4 operating system (such as LDOS). Since I am +aware of no DFSG-free Model 4 OS that can be shipped with this package, the +existence of this free boot ROM is insufficient, in my opinion, to permit xtrs +to be placed in Debian's main archive. + +There are at least three variants of the Model I ROM around, but I know of no +practical operational differences between them; at least none that I can +remember after fifteen years. In any case the differences are largely cosmetic +(minor changes to the copyright notice) and all should work. + +Place Model I, Model III, and Model 4P ROM image files in the following files, +respectively: + + /usr/local/lib/xtrs/level2rom.hex + /usr/local/lib/xtrs/romimage.m3 + /usr/local/lib/xtrs/romimage.m4p + +They should be mode 644 ("chmod 644 /usr/local/lib/xtrs/*" as root). + +These files will not be removed or replaced during an upgrade, downgrade, +removal, or purge of the xtrs package--you will have to delete them manually if +you want to be rid of them. + +xtrs can operate with only the ROM images--it will boot to the Model I or III +BASIC interpreter. If you wish to use some of the software designed for use +with the Model I/III/4, you will need to provide it in the form of disk images, +and boot to a disk operating system. See trs80faq.html in /usr/share/doc/xtrs +for more information. It is theoretically possible to use cassette images of +executable programs, but I know of no one who has made cassette images in this +fashion. In practice, people simply use disk images. + +Please read /usr/share/doc/xtrs/trs80faq.html before attempting to work with +disk images. The manual pages for xtrs(1) and mkdisk(1) will also be helpful. + +If you wish to work with cassette images, please read the manual page for the +cassette(1) program. + +Finally, you may wish to observe the licensing of the ROM images and software +you use with xtrs. If you own the original computer(s), you have a license to +use the corresponding ROMs. Alternatively, a book was published in the 1980's +called _Microsoft BASIC Decoded & Other Mysteries for the TRS-80_ (James +Farvour; IJG Computer Services; ISBN 0-936200-01-4) which had the source code +for the Model I Level II ROMs (no Level I ROM images are available, to my +knowledge). If you own that book, you also have license to use the Model I ROM +images. + +Licenses to use software for the Model I/III/4 are often restricted to original +owners of the disks or cassettes, as applicable. However, a couple of dozen +software packages for the Model I/III/4 published by Misosys Software are freely +available for use, including the LDOS operating system, compilers for BASIC and +K&R C, an editor/assembler, a disassembler, and some utilities and applications +(including games). Please see Tim Mann's TRS-80 page for more information: + + http://www.tim-mann.org/trs80.html + +Enjoy your retrocomputing! + +-- Branden Robinson + +$Id: README.Debian 110 2008-02-07 04:09:22Z branden $ + +vim:set ai et ts=4 sw=4 tw=80: --- xtrs-4.9c.orig/debian/templates +++ xtrs-4.9c/debian/templates @@ -0,0 +1,12 @@ +Template: xtrs/roms_needed +Type: note +_Description: ROM images and/or operating system needed for xtrs to operate + The xtrs package will not function as it ships because it requires a ROM + image from one of the original TRS-80 Model I, III, 4, or 4P computers to + operate. (In Model 4P mode, only a disk image of a compatible operating + system is required.) Because of licensing restrictions on the ROM images and + TRS-80 operating systems, they cannot be distributed with this Debian + package. You will need to obtain this software and install it where xtrs + expects to find it for the program to work. + . + See /usr/share/doc/xtrs/README.Debian for more information. --- xtrs-4.9c.orig/debian/changelog +++ xtrs-4.9c/debian/changelog @@ -0,0 +1,646 @@ +xtrs (4.9c-3.2ubuntu3) raring; urgency=low + + * Fixed unused result warning and ignored retval error, resolving + FTBFS. + + -- Daniel T Chen Wed, 10 Apr 2013 21:40:46 -0400 + +xtrs (4.9c-3.2ubuntu2) oneiric; urgency=low + + * Build-depend on libreadline-dev instead of libreadline5-dev. + * Build using -Wno-error=unused-but-set-variable. LP: #835768. + + -- Matthias Klose Fri, 02 Sep 2011 11:18:42 +0200 + +xtrs (4.9c-3.2ubuntu1) maverick; urgency=low + + * Merge from debian unstable (LP: #592622). Remaining changes: + [James Westby] + - debug.c, dis.c: fix instances of "format not a string literal and no format + arguments" to fix build failure. + - Remove -DHAVE_SIGIO from Makefile to stop hangs on startup. + - Override unchecked usages of ftruncate, fwrite, and fread in trs_disk.c, + as there is no error checking on any other function around there. + - in mkdisk.c handle errors from fwrite. + - Specify i686's endianness in debian/rules to fix build failure on lpia. + + -- Roy Jamison Fri, 11 Jun 2010 12:14:28 +0100 + +xtrs (4.9c-3.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Italian (Vincenzo Campanella). Closes: #575101 + + -- Christian Perrier Tue, 25 May 2010 06:55:54 +0200 + +xtrs (4.9c-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Use the correct versioned dependency on debhelper (>= 5) + * Drop x-dev from build dependencies + * Fix pending l10n issues. Debconf translations: + - Galician (Marce Villarino). Closes: #537431 + - Vietnamese (Clytie Siddall). Closes: #574432 + + -- Christian Perrier Mon, 22 Mar 2010 00:46:12 +0100 + +xtrs (4.9c-3ubuntu2) jaunty; urgency=low + + * Specify i686's endianness in debian/rules to fix build failure on lpia. + + -- James Westby Tue, 13 Jan 2009 10:14:09 +0000 + +xtrs (4.9c-3ubuntu1) jaunty; urgency=low + + * debug.c, dis.c: fix instances of "format not a string literal and no format + arguments" to fix build failure. + * Remove -DHAVE_SIGIO from Makefile to stop hangs on startup (LP: #223098) + * Override unchecked usages of ftruncate, fwrite, and fread in trs_disk.c, + as there is no error checking on any other function around there. + * in mkdisk.c handle errors from fwrite. + + -- James Westby Tue, 13 Jan 2009 00:45:23 +0000 + +xtrs (4.9c-3) unstable; urgency=low + + * Update my copyright notice in debian/copyright since I wrote the help + window patch this year. + * Update architecture-detection logic to use a more modern interface to + dpkg-architecture and recognize armeb. Thanks, Riku Voipio! + (Closes: #480129) + + -- Branden Robinson Mon, 12 May 2008 02:36:30 -0400 + +xtrs (4.9c-2) unstable; urgency=low + + * When handling X Enter and Leave events, track which one we handled + previously, and fake a Leave event before handling an Enter if the + previous of these two events was also an Enter. This prevents the global + autorepeat from getting wrongly kept off when two Enter events are seen in + a row, as can happen when the unclutter X client is used. + * Add Portuguese debconf template translations; thanks, Américo Monteiro! + (Closes: #437302) + * Update TRS-80 FAQ to be based on Tim Mann's version 1.59 (2007-02-21). + * Implement an overlay window that summarizes the first few paragraphs of + keyboard usage information from the manpage; F11 toggles the window on and + off. Update the xtrs(1) manpage to mention this feature. + * Patch Makefile.local to not explicitly link against ncurses, which is only + used indirectly via GNU readline (brought to light by the new + symbols-aware dpkg-shlibdeps). + * Increment debhelper compatibility level to 5. + * Update README.Debian and README.contrib-only. + * Fix debian/rules to stop ignoring errors from "$(MAKE) clean" (he noted + wryly, in light of who filed #325372--though in fairness this package + doesn't use GNU Automake). + * Update Debian menu section to "Applications/Emulators" per new Debian Menu + Policy. + * Stop shipping useless empty directory /usr/lib/menu. + * Increment Standards-Version to 3.7.3. + + -- Branden Robinson Thu, 07 Feb 2008 00:09:13 -0500 + +xtrs (4.9c-1) unstable; urgency=low + + * Merge upstream 4.9c release. + + Fix the new -e command-line option to IMPORT/CMD and EXPORT/CMD to + actually work. + * Fix non-ASCII character in Debian changelog entry for previous release. + * Update Japanese debconf template translations to remove period from the + end of the title of the debconf note, for consistency with the other + translations. Thanks to Kenshi Muto for his consulation on this issue. + * Scale back the .hex file mtime update fix in debian/rules to just + fakerom.hex and xtrsrom4p.hex, as in the new upstream release only these + files are affected. + + -- Branden Robinson Mon, 15 May 2006 01:21:50 -0400 + +xtrs (4.9b-1) unstable; urgency=low + + * Merge upstream 4.9b release. + + Bundle Roland Gerlach's CP/M utilties for xtrs and corresponding + documentation. + + Add -emtsafe command-line option to xtrs to prevent emulator traps from + writing to unexpected places in the host filesystem. Use this flag if + you believe your xtrs instances may run malicious code aware of xtrs's + traps within the emulator. + + Add -e command-line option to the IMPORT/CMD and EXPORT/CMD utilities. + Use this flag if your TRS-80 operating system uses the NEWDOS/80 + convention for representing the ending record number in an open file + control block, and this fact is not autodetected by the emulator. + + Drop old method of importing/exporting files from the host filesystem + using fake I/O ports. IMPORT/BAS and EXPORT/BAS are no longer provided. + + Merge Debian patches by Branden Robinson to add watchpoints and the + zbxinfo command to the debugger, and make miscellaneous cleanups. + + Merge Debian patches by Andreas Jochens to make signed/unsigned casts + where appropriate. + * Update CP/M utility disk documentation to point Debian users to the + locally installed copy of the disk in /usr/lib/xtrs. + * Drop patches to debug.c, trs_imp_exp.c, trs_cassette.c, and z80.c from + debian/patches, as they have been merged upstream. + * Update TRS-80 FAQ to be based on Tim Mann's version 1.58 (2006-04-22). + + Update URLs to various TRS-80 resources. + * Fix grammar errors in package description and remove statement claiming + instructions on retrieving ROM images are available in the package. This + is no longer true, as I know of no active site offering them for download. + * Update debian/rules to touch the mtimes on the assembled .hex files before + invoking Make on the upstream sources; when Tim Mann renamed the Z-80 + assembly sources from ".z" to ".z80", their mtimes got updated and + therefore Make thinks the .hex files need to be remade, using the zmac + assembler, which is not widely available. This is hopefully a temporary + kludge, and the timestamps will be fixed in the next xtrs release. + * Add empty, phony binary-indep target to debian/rules to keep lintian + happy. + * Remove period from title of debconf note template, per squawking from + lintian about section 6.5.4.2.4 of the Developers' Reference. I went + ahead and updated the po files for cs, da, de, es, fr, pt_BR, ru, and sv + (Czech, Danish, German, Spanish, French, Brazilian Portuguese, Russian, + and Swedish) and un-fuzzied them, on the wild assumption that periods + don't belong in titles in those languages either. I left Japanese alone + because I do not understand its grammar and because I do not know what a + Japanese period looks like. Japanese translators, please consider + un-fuzzing this translation with an appropriate update, and send a patch + to the BTS. + * Increment Standards-Version to 3.7.2; no changes necessary. + + -- Branden Robinson Sun, 14 May 2006 01:07:16 -0400 + +xtrs (4.9a-2) unstable; urgency=low + + * Update README.Debian to stop documenting now-defunct site where Model I + and Model III ROM images can be obtained. Also migrate /usr/doc + references to /usr/share/doc. + * Update comment in z80.c to make it more legible (submitted upstream). + * Tweak zbx debugger UI (submitted upstream): + + Report maximum number of traps when user tries to set too many. + + Inform user of existence of "help" command when entering debugger. + + Implement "zbxinfo" command, which credits authors, reports number of + traps set, size of address space, maximum length of zbx command line, + and whether GNU Readline support is enabled. Document existence of + "zbxinfo" command in help output. + + Kill off hard tab in help output. + * Implement "watch" command in zbx debugger, providing the ability to set + watchpoints on addresses in memory (submitted upstream). + * Add upstream location of TRS-80 FAQ to Debian copyright file. + * Update TRS-80 FAQ to be based on Tim Mann's version 1.57 (2005-09-17). + + Update question 14: What are the differences among single, double, quad, + and high density floppy media? + + Add question 26: How can I read the back of a disk that was written in a + flippy drive? + * Add Czech debconf template translations; thanks, Katarína "Bubli" + Machálková! (Closes: #319855) + * Add Swedish debconf template translations; thanks, Daniel Nylander! + (Closes: #330443) + * Bump Debian standards version to 3.6.2; no changes needed. + + -- Branden Robinson Sat, 5 Nov 2005 11:42:38 -0500 + +xtrs (4.9a-1) unstable; urgency=low + + * Package new upstream version. + * Update copyright file to reflect new upstream archive and copyright notice + for Debian modifications. I never signed a written instrument assigning + copyright in my changes to Software in the Public Interest, Inc., so under + my understanding of U.S. law, the copyright remains with me. + * Update TRS-80 FAQ to be based on Tim Mann's version 1.53 (2005-04-07). + + -- Branden Robinson Fri, 29 Apr 2005 23:51:58 -0500 + +xtrs (4.9-5) unstable; urgency=low + + * Actually apply the patches in debian/patches, which were neglected in the + 4.9-4 release. + * Add recognition of amd64 and ppc64 architectures in debian/rules (thanks, + Andreas Jochens). + * Update build-dependency on libreadline4-dev (>= 4.1) to libreadline5-dev. + Thanks to Andreas Jochens for pointing this out. + * Apply patch from Andreas Jochens to fix compilation errors on AMD64 + by adding more explicit casts. (Closes: #288767) + + -- Branden Robinson Thu, 13 Jan 2005 18:51:57 -0500 + +xtrs (4.9-4) unstable; urgency=low + + * Transcode changelog to UTF-8. + * Modernify comments and metadata in templates.pot. + * Modernize comments and metadata in existing po files. + * Re-run debconf-update po on existing po files (this recoded them to UTF-8, + reflowed the text, and made some other cosmetic fixes). + * Add Japanese debconf template translations (thanks, Hideki Yamane). + (Closes: #264120) + * Add Danish debconf template translations (thanks, Morten Bo Johansen). + (Closes: #285963) + * Update TRS-80 FAQ to be based on Tim Mann's version 1.50 (2004/12/06). + * Rename plain text documentation to use an extension of ".txt" instead of + ".text". + * Tidy up style of debian/rules file. + * Migrate from using dh_installmanpages to dh_installman in debian/rules. + * Bump Standards-Version to 3.6.1; changelog already recoded per above -- no + other changes necessary. + * Quote strings in Debian menu data fields (per Lintian). Reflow menu data. + * Replace build-dependency on dummy package xlibs-dev with + build-dependencies on libx11-dev and x-dev. + + -- Branden Robinson Fri, 24 Dec 2004 22:51:10 -0500 + +xtrs (4.9-3) unstable; urgency=low + + * debian/compat: put debhelper compatibility delcaration in this file, as + recommended by debhelper(7) + * debian/control: + - Standards-Version bumped to 3.5.9 + - replace hard-coded dependency on debconf with ${misc:Depends} per + debhelper(7) + * debian/po/fr.po: add French debconf template translations (thanks, Pierre + Machard) (Closes: #168252) + * debian/po/pt_BR.po: add Brazilian Portuguese debconf template translations + (thanks, Andre Luis Lopes) (Closes: #179518) + * debian/rules: remove DH_COMPAT delcaration in favor of debian/compat, + above + * debian/trs80faq.html: update to revision 1.45 + + -- Branden Robinson Tue, 29 Apr 2003 00:24:56 -0500 + +xtrs (4.9-2) unstable; urgency=low + + * debian/control: + - added build dependency on po-debconf and increment versioned build + dependency on debhelper to (>= 4.1.16) + - bumped Standards-Version to 3.5.7 + * debian/copyright: cosmetic fixes + * debian/patches: drop patch to Makefile.local; set DEBUG and PREFIX + variables via debian/rules instead + * debian/{po/,templates*}: coverted to po-debconf + * debian/rules: + - bump DH_COMPAT to 4 + - drop "sh" and "sheb" as recongized Debian architectures; add "sh3" and + "sh4" + - support "noopt" in DEB_BUILD_OPTIONS + - minor changes for debhelper 4.x + - pass -Wall, -Werror, and -D_REENTRANT as DEBUG flags to upstream make + - pass PREFIX=/usr to upstream make + * debian/trs80faq.html: update to revision 1.43 + + -- Branden Robinson Thu, 24 Oct 2002 22:06:01 -0500 + +xtrs (4.9-1) unstable; urgency=low + + * new upstream version + + added -iconic option + + support more sample formats when doing I/O on /dev/dsp, because not all + sound hardware supports 8-bit formats + + support T-state waiting before raising DRQ after Read or Read Address + commands on real floppy drives, not just image files + + support setting of track and sector registers on a Read Address to the + values read from the ID field on floppy image files, not just real + drives + + bugfixes and documentation updates + * debian/copyright: updated + * debian/trs80faq.html: latest version (1.37) from Tim Mann's website + * debian/rules: README.tpm no longer exists in upstream distribution; stop + trying to ship it + + -- Branden Robinson Sun, 19 May 2002 01:35:01 -0500 + +xtrs (4.8-2) unstable; urgency=low + + * debian/README.Debian: update Tim Mann's website URL (Closes: #130498) + * debian/templates.ru: added Russian template translation (thanks, Ilgiz + Kalmetev) (Closes: #137705) + * debian/trs80faq.html: latest version (21 Mar) from Tim Mann's website + + -- Branden Robinson Sat, 23 Mar 2002 02:43:52 -0500 + +xtrs (4.8-1) unstable; urgency=low + + * new upstream version + + fix for untimely flushing of output to X server + + added heuristic to flush key transition queue if emulated keyboard not + polled often enough + * debian/copyright: updated + * debian/patches: removed a patch that is now upstream + + -- Branden Robinson Fri, 31 Aug 2001 17:33:18 -0500 + +xtrs (4.7-4) unstable; urgency=low + + * debian/templates.es: added Spanish translation of debconf templates + (thanks, Carlos Valdivia Yagüe) (Closes: #106368) + + -- Branden Robinson Tue, 31 Jul 2001 05:09:00 -0500 + +xtrs (4.7-3) unstable; urgency=low + + * debian/templates.de: added German translation of debconf templates + (thanks, Michael Bramer) (Closes: #106212) + + -- Branden Robinson Sun, 22 Jul 2001 15:46:22 -0500 + +xtrs (4.7-2) unstable; urgency=low + + * Makefile.local: add -Werror to compile flags since xtrs compiles silently + under -Wall on i386 + * debian/rules: + - added endianness info for sh and sheb architectures (Closes: #105682) + - reworded unknown endianness error message + - added all to dh_installdebconf + * debian/control + - added dependency on debconf + - minor rewording in extended description + * debian/{config,templates}: wrote a debconf question to discuss the + required ROM/OS issue + * debian/{postrm,prerm}: removed these since they did nothing + significant that debhelper won't automatically generate + + -- Branden Robinson Sat, 21 Jul 2001 00:04:23 -0500 + +xtrs (4.7-1) unstable; urgency=low + + * new upstream version + + improved the keyboard handling and a few other minor tweaks and fixes + * debian/rules: add endianness info for hppa, hurd-i386, mips, mipsel, and + s390 + * debian/trs80faq.html: latest version (28 Jun) from Tim Mann's website + + -- Branden Robinson Sat, 14 Jul 2001 01:28:22 -0500 + +xtrs (4.5a-2) unstable; urgency=low + + * debian/rules: identified ia64 as a little-endian architecture + + -- Branden Robinson Thu, 12 Jul 2001 17:30:06 -0500 + +xtrs (4.5a-1) unstable; urgency=low + + * new upstream version + + fixes for manpage and Makefile typos + * debian/control: + - add groff to Build-Depends (Closes: #96548) + - bumped Standards-Version to 3.5.4 (no changes required) + * debian/patches: fixes to Makefile and xtrs.man applied upstream + * debian/rules: use html2text instead of lynx + + -- Branden Robinson Thu, 10 May 2001 22:56:24 -0500 + +xtrs (4.5-1) unstable; urgency=low + + * new upstream version + + completes the emulation of undocumented Z-80 instructions and has + several other small improvements + * cmddump.man, hex2dump.man: manpages now upstream + * debian/trs80faq.html: latest version from Tim Mann's website + + -- Branden Robinson Sat, 5 May 2001 01:01:56 -0500 + +xtrs (4.4-1) unstable; urgency=low + + * new upstream version + + adds emulation of the Alpha Products joystick (using keys on the + numeric pad) and several other small changes + * cmddump.man, hex2dump.man: wrote these manual pages + * debian/control: + - updated extended description + - changed build dependency on xlib6g-dev to xlibs-dev + - bumped Standards-Version to 3.5.2 (no changes needed) + * debian/rules: remove dh_undocumented call; there are no more + undocumented commands + * debian/trs80faq.html: latest version from Tim Mann's website + + -- Branden Robinson Thu, 22 Feb 2001 23:23:10 -0500 + +xtrs (4.3-1) unstable; urgency=low + + * new upstream version + + emulation of the serial port + + emulation of the Radio Shack and Micro Labs hi-res graphics cards for + the Model III + + misc. bugfixes + * debian/control: updated extended description + * debian/trs80faq.html: new upstream version (21 Jul 2000) + + -- Branden Robinson Sat, 22 Jul 2000 18:35:03 -0500 + +xtrs (4.2-1) unstable; urgency=low + + * new upstream version + + emulation of the Model I HRG1B 384*192 graphics card + + the -scale command line option now allows independent scaling in the + X and Y dimensions + + misc. bugfixes + * debian/control: fixed some wording in extended description + * debian/trs80faq.html: new upstream version (22 Jun 2000) + + -- Branden Robinson Sat, 1 Jul 2000 14:04:18 -0500 + +xtrs (4.1-2) unstable; urgency=low + + * debian/rules: be sure to build big-endian on big-endian architectures + + -- Branden Robinson Sat, 3 Jun 2000 16:26:17 -0400 + +xtrs (4.1-1) unstable; urgency=low + + * new upstream version + + Added emulation of real Radio Shack hard drive controllers (WD1010). + + F9 will now get you into the debugger (zbx) even if you didn't start + xtrs with the -debug flag. + + misc. bugfixes + * migrated Debian changes from previous versions forward + * debian/README.contrib-only: minor clarification + * debian/checklist: file for my own use reminding me what I need to + update whenever a new upstream version is released + * debian/control: added libncurses5-dev, libreadline4-dev (>= 4.1), and + xlib6g-dev (>= 3.3.6-4) to Build-Depends + * debian/copyright: religiously follow policy 6.6 + * debian/patches: our patches to upstream; these are NOT automatically + applied by the build process + * debian/trs80faq.html: new upstream version + + -- Branden Robinson Sun, 21 May 2000 03:46:53 -0400 + +xtrs (4.0-1) unstable; urgency=low + + * the "it's X* 4.0, but not the one you thought! ha ha ha ha ha" release + * new upstream version + + added emulation of software-switchable Model I 3.54MHz clock speedup + kit + + added emulation of Orchestra-85 and Orchestra-90 sound hardware + + added emulation of TimeDate80, TChron1, TRSWatch, and T-Timer + battery-powered clocks (not Y2K tested :) ) + + added -scale option + + added support for Level I BASIC .cas files + + changed -samplerate default to 44.1kHz + + updated documentation of EXPORT.COM in xtrs manpage (should have been + in 3.9) + + fixed bug in switching between 80x24 and 64x16 modes when invoked + with -usefont options + + worked around X event race when invoking with -resize + + fixed obscure bugs in Model 4 hi-res graphics card emulation + + fixed bug that sometimes causes F10 reboot to hang the emulator until + the next X event is received + + worked around problem that kept Level II BASIC from being able to + read .cas files + * migrated Debian changes from previous versions forward + * debian/control: updated package description + * debian/README.Debian: updated + + -- Branden Robinson Tue, 4 Apr 2000 04:55:53 -0400 + +xtrs (3.9a-1) unstable; urgency=low + + * new upstream version + + Fixed a bug in the GENIE support and added one more GENIE feature: + printer interface at port 0xFD. + * Makefile: don't generate deroffed manpages in default rule + * trs_keyboard.c: don't catch Alt_L or Alt_R key events, since lots of + window managers use them + * xtrs.man: + - documented usage of Meta instead of Alt keys (emulator already used + Alt and Meta keys for the same thing) + - undocumented usage of Home as "right-shift" key for Model I (emulator + had already disposed of this) + * debian/control: added Build-Depends + * debian/copyright: updated + * debian/trs80faq.html: new upstream version + + -- Branden Robinson Sat, 4 Dec 1999 17:57:50 -0500 + +xtrs (3.9-1) unstable; urgency=low + + * new upstream version + + important fixes to sound support for recent Linux kernels + + supports GENIE, German Model I clone + + provides latest CP/M utility disk + + merged almost all Debian patches from 3.8-1 + * Makefile.local: + - turn on -Wall + - set PREFIX and MANDIR to Debian-preferred values + * cassette.man: remove paragraph about C-shell and Bourne versions + * debian/README.{Debian,contrib-only}: minor rewordings + * debian/control: + - bumped the standards version to 3.1.1 + - tweaked some awkward English in the description + * debian/copyright: updated + * debian/rules: + - also ship cpmutil.dsk + - ship Bourne version of cassette shell script + * debian/trs80faq.html: new version + + -- Branden Robinson Sun, 28 Nov 1999 01:46:32 -0500 + +xtrs (3.8-2) unstable; urgency=low + + * debian/control: rewrote extended description + * debian/rules: ship text versions of HTML documents, per new policy + + -- Branden Robinson Wed, 10 Nov 1999 21:36:59 -0500 + +xtrs (3.8-1) unstable; urgency=low + + * New upstream version. There have been quite a few since I last + released. Sorry about that. XFree86 is a harsh mistress. + * Policy 3.0.1 compliant and lintian-clean. + * The TRS-80 fonts are now hard-coded into the binary and no longer + available as X fonts. + * Moved place where xtrs looks for ROM files. See + /usr/share/doc/xtrs/README.Debian. + * Provide utility disk image in /usr/lib/xtrs. (Not shipping cpmutil.dsk + as upstream author says it is outdated.) + * Ship disk specification HTML document. + * Updated TRS-80 FAQ HTML document. + * Updated copyright notice. + * Moved binary and manpage out of X11 directories. + * main.c: canonicalize program_name here, not in trs_xinterface.c, so + that error messages are consistent + * Makefile: + - clean rule deletes compile_rom binary, and keeps deroffed manpages + - veryclean rule deletes deroffed manpages + - use Debian-canonical file modes when installing + - install cmddump, hex2cmd, and mkdisk + * Makefile.local: + - compile-in expected paths for ROM files + - build using readline and ncurses (for zbx internal debugger) + - Debian-canonical flags to cc + - LDFLAGS and IFLAGS that make sense with our X directories + - create a PREFIX variable that gets prepended to BINDIR and MANDIR + * trs_xinterface.c: + - remove canonicalization of program_name, this is now in main.c + - change logic for finding ROM files; check command line options, X + resources, compiled-in path to ROM files, then finally fall back on a + built-in ROM image + * debian/README.Debian: minor factual and stylistic updates + * debian/README.contrib-ony: elaborated on a couple of things + * debian/control: + - remove suggests: c-shell + - remove discussion of c-shell requirement in description + * debian/cassette.sh: rewrote Tim Mann's csh cassette script in Bourne; + since his script made heavy use of array variables, this was a lot of + fun :-P + * debian/menu: updated menu entry to reflect moved binary + + -- Branden Robinson Sat, 6 Nov 1999 19:58:54 -0500 + +xtrs (2.6-2) unstable; urgency=low + + * debian/control: tweaked normal and extended descriptions + * debian/menu: deleted space to make lintian happy + + -- Branden Robinson Sun, 18 Oct 1998 15:36:44 -0400 + +xtrs (2.6-1) unstable; urgency=low + + * new upstream release + + -- Branden Robinson Sat, 17 Oct 1998 17:46:21 -0400 + +xtrs (2.4-1) unstable; urgency=low + + * new upstream release -- 2.3 was only out for a few hours, so this time + it wasn't my fault + + -- Branden Robinson Thu, 15 Oct 1998 01:42:58 -0400 + +xtrs (2.2-1) unstable; urgency=low + + * new upstream release -- I missed 1.10, 2.0, and 2.1, which had some + nifty new features. + * The upstream author (Tim Mann) did not provide an upstream changelog + entry for version 2.2, but here is what I could gather from a diff -u: + - tweaked autodelay code in trs_interrupt.c + - added "Running games" section to manpage and corrected some typos + + -- Branden Robinson Thu, 1 Oct 1998 07:01:16 -0400 + +xtrs (1.9-4) frozen unstable; urgency=low + + * fixed typo in Makefile (thanks, Roland Gerlach) + * created README.contrib-only in expectation of forthcoming policy + * restored upstream author's manpage nomenclature + + -- Branden Robinson Wed, 15 Apr 1998 10:13:25 -0500 + +xtrs (1.9-3) unstable; urgency=low + + * edits and additions to README.Debian + * wrote TODO.Debian + * edited package description + + -- Branden Robinson Tue, 17 Mar 1998 14:30:45 -0500 + +xtrs (1.9-2) unstable; urgency=low + + * fixed typo in /usr/lib/menu/xtrs + * tweaked package description + * tweaked postinst and prerm in staggeringly insignificant ways + + -- Branden Robinson Thu, 5 Mar 1998 16:34:08 -0500 + +xtrs (1.9-1) unstable; urgency=low + + * initial release + + -- Branden Robinson Thu, 5 Mar 1998 12:09:45 -0500 + +# $Id: changelog 120 2008-05-12 06:38:58Z branden $ +# vim:set ai et sw=2 ts=2 tw=78: + --- xtrs-4.9c.orig/debian/config +++ xtrs-4.9c/debian/config @@ -0,0 +1,15 @@ +#!/bin/sh + +# $Id: config 111 2008-02-07 04:12:07Z branden $ + +set -e + +# source debconf library +. /usr/share/debconf/confmodule + +db_input high xtrs/roms_needed || true +db_go + +exit 0 + +# vim:set ai et sw=4 ts=4 tw=80: --- xtrs-4.9c.orig/debian/po/fr.po +++ xtrs-4.9c/debian/po/fr.po @@ -0,0 +1,70 @@ +# debconf templates for xtrs package +# French translation +# +# $Id: fr.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# Pierre Machard, 2002 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2002-11-02 12:24+0100\n" +"Last-Translator: Pierre Machard \n" +"Language-Team: Debian l10n French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "" +"Images ROM et/ou système d'exploitation nécessaires au fonctionnement d'xtrs" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"Le paquet xtrs qui vient d'être installé ne fonctionnera pas tel quel car il " +"a besoin de l'image ROM d'un ordinateur TRS-80 Modèle 1, III, 4 ou 4P pour " +"fonctionner (dans le mode modèle 4P, il suffit d'une image disque d'un " +"système d'exploitation compatible). En raison de restrictions sur la licence " +"des images ROM et des systèmes d'exploitation TRS-80, ils ne peuvent pas " +"être distribués avec ce paquet Debian. Vous devrez obtenir ce logiciel et " +"l'installer à l'endroit où xtrs s'attend à le trouver pour que le programme " +"fonctionne." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "" +"Veuillez lire /usr/share/doc/xtrs/README.Debian pour de plus amples " +"informations." --- xtrs-4.9c.orig/debian/po/ja.po +++ xtrs-4.9c/debian/po/ja.po @@ -0,0 +1,66 @@ +# debconf templates for xtrs package +# Japanese translation +# +# $Id: ja.po 92 2006-05-15 05:04:14Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# Hideki Yamane, 2004 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2004-08-07 15:03+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "xtrs の動作には ROM イメージならびに OS が必要です" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"xtrs パッケージは、動作にオリジナルの TRS-80 Model I・III・4・4P コンピュータ" +"のうちいずれかの ROM イメージを必要とするので、動作しない状態で出荷されていま" +"す。(Model 4P モードでは、互換 OS のディスクイメージのみが必要になります。) " +"ROM イメージと TRS-80 の OS についてのライセンス上の制限のため、この Debian " +"パッケージと共に配布することはできません。このソフトウェアを取得した上で、プ" +"ログラムが動作するように xtrs から見える所にインストールする必要があります。" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "" +"より詳細については、/usr/share/doc/xtrs/README.Debian を参照して下さい。" --- xtrs-4.9c.orig/debian/po/gl.po +++ xtrs-4.9c/debian/po/gl.po @@ -0,0 +1,50 @@ +# Copyright (C) 2009 Marce Villairno +# This file is distributed under the same license as the xtrs package. +# +# Marce Villarino , 2009. +# Marce Villarino , 2009. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2009-07-18 10:35+0200\n" +"Last-Translator: Marce Villarino \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 0.3\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Xtrs precisa de imaxes ROM ou dun sistema operativo para funcionar" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"O paquete xtrs non funcionará tal como se subministra porque require dunha " +"imaxe ROM dun dos ordenadores orixinais TR-80 Modelos I, III, 4 ou 4P para " +"funcionar (No modo Model 4P só se precisa unha imaxe de disco dun sistema " +"operativo compatíbel). Debido a restricións nas licenzas das imaxes ROM e " +"nos sistemas operativos TRS-80 non se poden distribuir xunto co paquete " +"Debian, deberá obter este software e instalalo no lugar que xtrs agarda " +"achalo para que o programa funcione." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "Consulte /usr/share/doc/xtrs/README.Debian para máis información." --- xtrs-4.9c.orig/debian/po/it.po +++ xtrs-4.9c/debian/po/it.po @@ -0,0 +1,50 @@ +# ITALIAN TRANSLATION OF XTRS' PO-DEBCONF FILE. +# COPYRIGHT (C) 2010 THE XTRS' COPYRIGHT HOLDER +# This file is distributed under the same license as the xtrs package. +# Vincenzo Campanella , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: xtrs\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2010-03-15 05:50+0100\n" +"Last-Translator: Vincenzo Campanella \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Immagini ROM e sistema operativo necessari per l'operatività di xtrs" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"Il pacchetto xtrs non funzionerà così come fornito, in quanto per la sua " +"operatività è richiesta un'immagine ROM da un computer TRS-80 modello I, " +"III, 4 o 4P (nel caso del modello 4P è sufficiente solo un disco con " +"l'immagine di un sistema operativo compatibile). A causa delle restrizioni " +"di licenza sulle immagini ROM e sui sistemi operativi TRS-80, questi non " +"possono essere distribuiti con il pacchetto Debian. Sarà quindi necessario " +"procurarsi questo software e installarlo nella posizione in cui xtrs si " +"attende di trovarlo." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "" +"Per maggiori informazioni consultare «/usr/share/doc/xtrs/README.Debian»." --- xtrs-4.9c.orig/debian/po/POTFILES.in +++ xtrs-4.9c/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- xtrs-4.9c.orig/debian/po/de.po +++ xtrs-4.9c/debian/po/de.po @@ -0,0 +1,64 @@ +# debconf templates for xtrs package +# German translation +# +# $Id: de.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# Michael Bramer, 2001 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Rom-Images und/oder ein Betriebsystem wird für xtrs benötigt" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"So wie das xtrs Paket ausgeliefert wird, wird es nicht funktionieren, da es " +"ein ROM-Image vom originalen TRS-80 Modell I, III, 4 oder 4P Computer zum " +"arbeiten braucht. (Im Modell 4P wird nur ein Disketten-Image vom " +"Betriebsystem benötigt.) Durch Lizenzbestimmungen dieser Images, können " +"diese nicht mit dem Debian Paket ausgeliefert werden. Sie müssen diese " +"besorgen und an einer Stelle installieren, wo sie von xtrs zum Arbeiten " +"erwartet werden." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "" +"Siehe auch /usr/share/doc/xtrs/README.Debian für weitere Informationen." --- xtrs-4.9c.orig/debian/po/vi.po +++ xtrs-4.9c/debian/po/vi.po @@ -0,0 +1,50 @@ +# Vietnamese translation for Xtrs. +# Copyright © 2010 Free Software Foundation, Inc. +# Clytie Siddall , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: xtrs\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2010-03-18 18:41+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.8\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Ảnh ROM và/hay hệ điều hành yêu cầu bởi xtrs để thao tác" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"Gói xtrs không chạy được như được phát hành, vì nó yêu cầu một ảnh ROM từ " +"một của những máy tính TDS-80 gốc kiểu I, III, 4 hay 4P. (Trong chế độ kiểu " +"4P, chỉ yêu cầu một ảnh đĩa của một hệ điều hành tương thích.) Do sự hạn chế " +"cấp quyền sử dụng ảnh ROM và hệ điều hành TRS-80, không thể phát hành được " +"cùng với gói Debian này. Để sử dụng được thì bạn cần phải lấy phần mềm này " +"và cài đặt nó vào vị trí thích hợp với xtrs." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "" +"Xem tập tin Đọc Đi « /usr/share/doc/xtrs/README.Debian » để tìm thêm thông " +"tin." --- xtrs-4.9c.orig/debian/po/templates.pot +++ xtrs-4.9c/debian/po/templates.pot @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "" --- xtrs-4.9c.orig/debian/po/cs.po +++ xtrs-4.9c/debian/po/cs.po @@ -0,0 +1,66 @@ +# debconf templates for xtrs package +# Czech translation +# +# $Id: cs.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyright: +# Branden Robinson, 2001 +# Katarna "Bubli" Machlkov, 2005 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2005-07-23 18:46+0200\n" +"Last-Translator: Katarina Machalkova \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Obrazy pamt ROM a/nebo operan systm potebn pro bh xtrs" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"Balek xtrs nebude fungovat tak, jak je dodvn, protoe pro svoji funkci " +"potebuje obraz pamti ROM jednoho z originlnch pota TRS-80 Model I, " +"III, 4 nebo 4P. (Pro reim Model 4P je vyadovn pouze obraz disku " +"kompatibilnho operanho systmu.) Obrazy pamt ROM a operan systmy TRS-" +"80 nemou bt dodvny s tmto debianm balkem kvli licennm omezenm. " +"Aby program fungoval, muste si tento software obstarat sami a nainstalovat " +"jej tam, kde jej xtrs oekv. " + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "Dal informace viz /share/doc/xtrs/README.Debian." --- xtrs-4.9c.orig/debian/po/da.po +++ xtrs-4.9c/debian/po/da.po @@ -0,0 +1,66 @@ +# debconf templates for xtrs package +# Danish translation +# +# $Id: da.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# Morten Bo Johansen, 2004 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2004-12-16 15:43+0100\n" +"Last-Translator: Morten Bo Johansen \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Xtrs kræver et ROM-aftryk og/eller et styresystem for at fungere" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"Xtrs-pakken kan ikke fungere umiddelbart, fordi den kræver et ROM-aftryk fra " +"en af de originale computere af mærket TRS-80 Model I, III, 4 eller 4P. For " +"Model 4P kræves der kun et disketteaftryk med et kompatibelt styresystem. På " +"grund af licensbegrænsninger på ROM-aftrykkene og på styresystemet for TRS-" +"80, kan de ikke distribueres med denne Debian-pakke. For at få programmet " +"til at fungere, må du selv hente denne software og installere den der hvor " +"xtrs forventer at finde den." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "Se /usr/share/doc/xtrs/README.Debian for flere oplysninger." --- xtrs-4.9c.orig/debian/po/pt.po +++ xtrs-4.9c/debian/po/pt.po @@ -0,0 +1,69 @@ +# debconf templates for xtrs package +# Portuguese translation +# +# $Id: pt.po 103 2007-09-12 10:24:43Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# Américo Monteiro , 2007 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9c-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2007-08-11 17:02+0100\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "" +"São necessárias imagens ROM e/ou sistema operativo para o xtrs funcionar" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"O pacote xtrs não irá funcionar como é distribuido, porque requer uma imagem " +"ROM de um dos computadores originais TRS-80 Model I, III ou 4P para poder " +"operar, (No modo Model 4P, apenas é necessária uma imagem de disco de um " +"sistema operativo compatível). Por causa das restrições de licenciamento " +"das imagens ROM e dos sistemas operativos do TRS-80, não podem ser " +"distribuidas com este pacote Debian. Você precisa obter este software e " +"instalá-lo onde o xtrs espera encontrá-lo para que o programa possa " +"funcionar." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "Veja /usr/share/doc/xtrs/README.Debian para mais informação." --- xtrs-4.9c.orig/debian/po/es.po +++ xtrs-4.9c/debian/po/es.po @@ -0,0 +1,63 @@ +# debconf templates for xtrs package +# Spanish translation +# +# $Id: es.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# Carlos Valdivia Yagüe, 2001 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "xtrs necesita las imágenes ROM y/o el sistema operativo" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"El paquete xtrs no funcionará con solo instalarlo, sino que necesita una " +"imagen ROM de algún ordenador TRS-80; modelo I, III, 4, o 4P. (Para el " +"modelo 4P, únicamente es necesaria una imagen de disco de un sistema " +"operativo compatible.) Debido a las restricciones de las licencias de las " +"imágenes ROM y los sistemas operativos TRS-80, no pueden incluirse en este " +"paquete Debian. Tendrá que obtener este software por su cuenta e instalarlo " +"donde xtrs espera encontrarlo para que funcione debidamente." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "Lea /usr/share/doc/xtrs/README.Debian para obtener más información." --- xtrs-4.9c.orig/debian/po/ru.po +++ xtrs-4.9c/debian/po/ru.po @@ -0,0 +1,63 @@ +# debconf templates for xtrs package +# Russian translation +# +# $Id: ru.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# Ilgiz Kalmetev, 2002 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Образы ROM и/или операционной системы, необходимые для работы xtrs" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"Пакет xtrs не будет функционировать потому, что ему требуется для работы " +"образ ROM одного из оригинальных компьютеров TRS-80 Model I, III, 4 или 4P. " +"(В режиме модели 4P, требуется только образ диска совместимой операионной " +"системы.) Из-за лицензионных ограничений на образы ROM и операционных " +"систем TRS-80, они не могут распространяться с этим пакетом Debian. Вам " +"понадобится достать это программное обеспечение и установить там, где xtrs " +"ожидает его найти." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "См. более полную информацию в /usr/share/doc/xtrs/README.Debian." --- xtrs-4.9c.orig/debian/po/pt_BR.po +++ xtrs-4.9c/debian/po/pt_BR.po @@ -0,0 +1,66 @@ +# debconf templates for xtrs package +# Brazilian Portuguese translation +# +# $Id: pt_BR.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyrights: +# Branden Robinson, 2001 +# André Luís Lopes, 2003 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2003-02-02 19:28-0200\n" +"Last-Translator: André Luís Lopes \n" +"Language-Team: Debian-BR Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "Imagens ROM e/ou sistema operacional necessários para o xtrs funcionar" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"O pacote xtrs não irá funcionar como ele é distribuído uma vez que o mesmo " +"requer uma imagem ROM de um dos modelos de computadores TRS-80 Modelo I, III " +"ou 4P para funcionar. (No modo Modelo 4P, somente uma imagem de disco de um " +"sistema operacional é requerido.) Devido as restrições de licenciamento das " +"imagens ROM e dos sistemas operacionais TRS-80, os mesmos não podem ser " +"distribuídos com o pacote Debian. Você precisará obter esse software e " +"instalá-lo onde o xtrs espera encontrá-lo para funcionar." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "Consulte /usr/share/doc/xtrs/README.Debian para maiores informações." --- xtrs-4.9c.orig/debian/po/sv.po +++ xtrs-4.9c/debian/po/sv.po @@ -0,0 +1,67 @@ +# debconf templates for xtrs package +# Swedish translation +# +# $Id: sv.po 88 2006-05-14 03:23:44Z branden $ +# +# Copyright: +# Branden Robinson, 2001 +# Daniel Nylander, 2005 +# +# This file is distributed under the same license as the xtrs package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf is available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: xtrs 4.9b-1\n" +"Report-Msgid-Bugs-To: xtrs@packages.debian.org\n" +"POT-Creation-Date: 2010-03-14 17:24+0100\n" +"PO-Revision-Date: 2005-09-28 04:07-0700\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "ROM images and/or operating system needed for xtrs to operate" +msgstr "" +"ROM-dumpar och/eller operativsystem som behövs för att xtrs skall köras" + +#. Type: note +#. Description +#: ../templates:1001 +msgid "" +"The xtrs package will not function as it ships because it requires a ROM " +"image from one of the original TRS-80 Model I, III, 4, or 4P computers to " +"operate. (In Model 4P mode, only a disk image of a compatible operating " +"system is required.) Because of licensing restrictions on the ROM images " +"and TRS-80 operating systems, they cannot be distributed with this Debian " +"package. You will need to obtain this software and install it where xtrs " +"expects to find it for the program to work." +msgstr "" +"xtrs-paketet kommer inte att fungera direkt efter installation eftersom det " +"kräver en ROM-dump från en original TRS-80 Model I, III, 4 eller 4P dator " +"för att starta. (I Model 4P-läget krävs bara en diskimage av ett " +"kompatibelt operativsystem.) På grund av licensrestriktioner av ROM-dumpar " +"och TRS-80 operativsystemet kan dessa inte distribueras tillsammans med " +"detta Debian-paket. Du måste skaffa denna mjukvara och installera den där " +"xtrs förväntar sig att hitta den för att köra programmet." + +#. Type: note +#. Description +#: ../templates:1001 +msgid "See /usr/share/doc/xtrs/README.Debian for more information." +msgstr "Se /usr/share/doc/xtrs/README.Debian för mer information."