nanochess / book8088 Goto Github PK
View Code? Open in Web Editor NEWExamples from my book Programming Boot Sector Games
Examples from my book Programming Boot Sector Games
Programming Boot Sector Games by Oscar Toledo G. http://nanochess.org/ ERRATA FOR THE BOOK: (Aug/31/2020) Even though all my efforts, Craig Turner found a pair of mistakes on the instruction set appendix. The instructions 0x9a and 0xea have inverted operands. The correct representation is: CALL 0x5566:0x7788 9a 88 77 66 55 JMP 0x5566:0x7788 ea 88 77 66 55 This same mistake slipped into my sequel book. James Cross found a small difference in sieve.asm between the book and the Git, also a small bug on page 28, where the byte count shown is 123 instead of 121. Daniel @netsurf916 found a small bug in page 55, bullet 5, last word says "if direction flag is zero" instead of the correct "if direction flag is one". NOTES: If you found this Git for accident, do you need more details on the inner workings? These programs are fully commented in my new book Programming Boot Sector Games and also you'll find a 8086/8088 crash course! Now available from Lulu: Soft-cover http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/paperback/product-24188564.html Hard-cover http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/hardcover/product-24188530.html These are some of the example programs documented profusely in the book: * Guess the number. * Tic-Tac-Toe game. * Text graphics. * Mandelbrot set. * F-Bird game. * Invaders game. * Pillman game. * Toledo Atomchess. * bootBASIC language. These games/programs have its own Git and can differ slightly from the published version because of enhancements: https://github.com/nanochess/fbird https://github.com/nanochess/Invaders https://github.com/nanochess/Pillman https://github.com/nanochess/Toledo-Atomchess https://github.com/nanochess/bootBASIC Don't forget to see also bootOS, a tiny operating system in only 512 bytes: https://github.com/nanochess/bootOS After the success of my first book, if you need even More Boot Sector Games then you must get this book! Soft-cover http://www.lulu.com/shop/oscar-toledo-gutierrez/more-boot-sector-games/paperback/product-24462035.html Hard-cover http://www.lulu.com/shop/oscar-toledo-gutierrez/more-boot-sector-games/hardcover/product-24462029.html These are some of the example programs documented profusely in the book: * Follow the Lights * bootRogue * bricks * cubicDoom * bootOS
Line 40 in fd8152a
This int 0x20 seems to be redundant with the one already added by pasting in library2.asm. It also does not appear in the listing for p3 on page 28 in the book itself. It doesn't affect the functionality at all but it does burn two unnecessary bytes. The extra bytes are included in the 123 byte count for the program mentioned on page 28. That's how I noticed the mistake in the first place. Following the instructions as written in the book produces a 121 byte binary.
I wan't to run the "Hello World example" (first.asm) from the book "PROGRAMMING BOOT SECTOR GAMES" but every time I run it, I get this error "Die Version von C:\Test\asm\bootgames\book\noob\v1_test_hello_world_64_bit\v1.com ist mit der ausgeführten Windows-Version nicht kompatibel. Überprüfen Sie die Systeminformationen des Computers, und wenden Sie sich anschließend an den Herausgeber der Software." (roughly translated "The version of C:\Test\asm\bootgames\book\noob\v1_test_hello_world_64_bit\v1.com is not compatible with the running version of Windows. Check the System information of your PC and contact the software developer.")
(If someone is interested I have a AMD CPU with Windows 10 x64.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.