https://github.com/nanochess/pi Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} nanochess / pi Public * Notifications * Fork 3 * Star 49 Pi number calculator using 8088 assembly language License BSD-2-Clause license 49 stars 3 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights nanochess/pi This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/n] Use Git or checkout with SVN using the web URL. [gh repo clone nanoch] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @nanochess nanochess Added screenshot ... c3edb38 Jan 18, 2022 Added screenshot c3edb38 Git stats * 5 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .gitignore LICENSE Makefile README e.bat pi.asm pi.com pi.img pi.png View code README PI calculator in 146 bytes (boot sector or COM file) by Oscar Toledo G. Nov/11/2021 http://nanochess.org https://github.com/nanochess This is a simple program to calculate the PI digits. It can be run as a COM file or put into a boot sector of a floppy disk to be run. It's compatible with 8088 (the original IBM PC), and it will take a lot of time on a real hardware! ;) If you want to assemble it, you must download the Netwide Assembler (nasm) from www.nasm.us Use this command line: nasm -f bin pi.asm -Dcom_file=1 -o pi.com nasm -f bin pi.asm -Dcom_file=0 -o pi.img Tested with VirtualBox for Mac OS X running Windows XP running this program, it also works with DosBox and probably with qemu: qemu-system-x86_64 -fda pi.img Enjoy it! >> THE BOOK << Do you would like to learn 8086/8088 assembly language? Then get my book Programming Boot Sector Games and you'll also 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 eBook https://nanochess.org/store.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. About Pi number calculator using 8088 assembly language Resources Readme License BSD-2-Clause license Stars 49 stars Watchers 3 watching Forks 3 forks Releases No releases published Packages 0 No packages published Contributors 2 * @nanochess nanochess Oscar Toledo * @nsauzede nsauzede Nicolas Sauzede Languages * Assembly 85.3% * Makefile 12.0% * Batchfile 2.7% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.