وبلاگ بلیان

برنامه‌نویسی مقیم در حافظه بر روی IBM PC

Memory resident programming on the IBM PC.

معرفی کتاب «برنامه‌نویسی مقیم در حافظه بر روی IBM PC» (با عنوان لاتین Memory resident programming on the IBM PC.) نوشتهٔ Wadlow, Thomas A.، منتشرشده توسط نشر Addison Wesley در سال 1987. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

1 Looking under the Hood 1 1.1 Getting Inside the Box 2 1.2 Solving Problems 3 1.3 The Nature of Good Design 4 1.4 Writing Debuggable Programs 5 2 Fundamental Arcana 9 2.1 The Basics 10 2.2 The 8086/8088 11 2.2.1 Registers 12 2.2.2 Addressing Modes 13 2.2.3 Flags 14 2.2.4 Jumping through Loops 16 2.2.5 Organization of Data within Memory 18 2.3 Details of the 8086 Architecture 22 3 Interrupt Vectors 23 3.1 Interrupts Available on the IBM PC 24 3.2 The Keyboard Input Mechanism 26 3.3 Replacing Interrupt Vectors 27 3.3.1 Setting the Vector Directly 27 3.3.2 Using DOS to Set the Vector 28 3.4 Examining the Interrupt Vectors 30 3.5 IVEC. ASM - Listing Interrupt Vectors 32 4 A Basic Resident Program 39 4.1 A Simple Resident Application 40 4.2 A Basic .COM Program 41 4.3 A Minimum Resident Program 43 4.4 A Refined Resident Program 44 4.5 Elimination of Memory Overhead 46 4.6 Invoking the Resident Application 46 4.7 Chaining Interrupt Handlers 49 4.8 Detecting Our Resident Application 51 5 A Keystroke Expander 55 5.1 A Basic Expander 58 5.2 Expanding on Multiple Keys 62 5.3 MACRO.ASM - Single-Key Expander 66 5.4 MACTAB .ASM - General Keystroke Expander 68 6 Using the Timer 73 6.1 Reentrant Code 74 6.2 Building a Desk Clock 75 6.3 What Time Is It, Anyway? 81 6.4 Winding the Watch 84 6.5 CLOCK. ASM - A Resident Desk Clock 89 7 Building a Front Panel 95 7.1 Peeking at the Instruction Pointer 96 7.2 Using a Stack-Frame Pointer 102 7.3 FPANEL. ASM - An Instruction Pointer Display 105 8 An Interrupt-vector Display 111 8.1 Listing the Vectors 115 8.2 BASIC. ASM - A Test Display 123 8.3 VECTORS. ASM - An Interrupt-vector Display 125 9 Controlling the Machine 135 9.1 Rewriting the Key Expander 136 9.2 The State of the Serial Ports 141 9.3 A Port Status Display 143 9.3.1 Displaying the Baud Rate 148 9.3.2 Displaying the Character Length 150 9.3.3 Displaying the Stop Bits and Parity 152 9.4 The Virtues of Consistency 154 9.5 SEEMODE. ASM - Show Communications Mode 155 10 Setting the Mode 167 10.1 Designing the Code 168 10.2 Setting up the Communications Ports 173 10.3 SETMODE. ASM - Set Serial Mode 178 11 Using the Disk 193 11.1 Safety First 194 11.2 The Disk Subsystem 196 11.2.1 Directories 198 11.3 Making a Useful Directory Display 204 11.4 LD. ASM - List a Directory 208 12 Strolling the Corridors 215 12.1 Browsing in the Stacks 217 12.2 Prototyping the Selector 221 12.3 Displaying the File 224 12.4 BROWSE. ASM - Examine File Contents 226 13 The Roads Not Taken 235 13.1 Emerging Standards 235 13.2 Compatibility 236 13.3 Video Modes 236 13.4 Disabling Interrupts 237 13.5 Rolling Your Own 238 13.6 Undocumented Functions 238 13.7 Designing Programs 239 Appendix A - IBM ROM BIOS Services 241 Appendix B - Hardware Interrupts 293 Appendix C - IBM DOS Services 309 Appendix D - Useful Books 403 Index 405
دانلود کتاب برنامه‌نویسی مقیم در حافظه بر روی IBM PC