Chastity White Rose Gaming

Chastity White Rose Gaming I play Tetris in all its forms. But mostly I am known for my Chess Streams on Twitch. I upload by best Tetris and Chess videos to this page.

chastext 64-bitI have converted my chastext program to 64 bit Assembly for Linux. Next to chastehex, this is the program...
06/18/2026

chastext 64-bit

I have converted my chastext program to 64 bit Assembly for Linux. Next to chastehex, this is the program I am most proud of because it can find and replace exact strings of text. It isn't quite the same as the Linux "sed" tool, but it is faster, smaller, and I wrote it myself and can do whatever I want with it. So of course what I did was write shell script to show what it is capable of! main.asm ;Linux 64-bit Assembly Source for chastext ;a basic text search and replace program format ELF64 executable entry main include 'chastelib64.asm' main: pop rax mov ,rax ;save the argument count for later cmp qword ,1 ja help_skip ;if more than 1 argument is given, skip the help message and process the other arguments help: mov rax,help_message call putstring jmp main_end help_skip: pop rax ;pop the next arg which is the name of the program we are running get_filename: pop rax ;pop the next arg which is the name of the file we will open mov ,rax ; save the name of the file we will open to read arg_open_file: ;Linux system call to open a file mov rsi,0 ;open file in read only mode mov rdi,rax ;filename should be in rax before this function was called mov rax,2 ;invoke SYS_OPEN (kernel opcode 2 on 64 bit systems) syscall ;call the kernel cmp rax,0 jns file_open_no_errors ;if rax is not negative/signed there was no error ;Otherwise, if it was signed, then this code will display an error message....

I have converted my chastext program to 64 bit Assembly for Linux. Next to chastehex, this is the program I am most proud of because it can find and replace exact strings of text. It isn’t qu…

My Leanpub Launch video is available now. This interview was a chance for Len to ask me questions about the book, who it...
06/18/2026

My Leanpub Launch video is available now. This interview was a chance for Len to ask me questions about the book, who it's for, and my motivations in teaching people to understand computers better.

Leanpub is a self-publishing company where people publish technical books, even if they are not quite finished. Ever since I posted the first 5 chapters of Assembly Arithmetic Algorithms, I have been getting a lot of feedback. Therefore, I highly recommend it for authors who are writing a book about a programming language or kind of software that they want to help people understand.

But for readers, it is also important to know that any book you purchase, you also have the ability to download PDF and EPUB files for reading on any device. This makes it less restricted than buying ebooks on Amazon.

Welcome to the Leanpub Launch video for Assembly Arithmetic Algorit...

06/14/2026

Assembly Magic

A programmer is not a magician
They just know how to use addition
Those with skill and high ambition
Don’t hesitate to break tradition

Reverse addition is subtraction
There is no need for fancy abstraction
Do not fall for hype and distraction
Don’t hesitate to learn, take action

Repeated addition is called multiplication
Despite its badly taught reputation
Teaching math is my obligation
With my books I will teach the nation

Subtraction loops can form division
Conditional jumps make each decision
Divide by the radix for integer vision
But a zero divisor can cause a collision

Programming languages are all the same
When arithmetic is your favorite game
It is fun to choose each variable name
But when my code fails, I take the blame

But of every language I have used
I love writing Assembly the most
And I wrote the chaste hex program
Of which I sometimes like to boast

I like Assembly language because
It gives me the complete control
And brings back the satisfaction
That the evil tech companies stole

Anyone can learn to write code
That is what some people say
And I agree with this statement
When they learn in the right way

People hear that something is hard
And so they never even try to start
But if they did they would soon see
That building software is an art

I wrote a book to teach my favorite
Assembly Arithmetic Algorithms
I am a bit too obsessed with math
And others suffer from my autism

I write my books and comment my functions
So that other people have a chance to read
And learn what makes computers work
And do all the tasks that humans need

And to those who don’t yet understand
They think my math is some kind of magic
I rarely meet those who take the time to learn
And my lonely pursuit is kind of tragic

But the special way I write my programs
Is yet another form of Creative Writing
And because of evil tech companies
People like me cannot stop fighting

They fire people and replace them with AI
But that will only work for a short while
Because the code is of no use at all
Unless it can make a human soul smile

Assembly MagicA programmer is not a magician They just know how to use addition Those with skill and high ambition Don’t...
06/14/2026

Assembly Magic

A programmer is not a magician They just know how to use addition Those with skill and high ambition Don’t hesitate to break tradition Reverse addition is subtraction There is no need for fancy abstraction Do not fall for hype and distraction Don’t hesitate to learn, take action Repeated addition is called multiplication Despite its badly taught reputation Teaching math is my obligation…...

A programmer is not a magician They just know how to use addition Those with skill and high ambition Don’t hesitate to break tradition Reverse addition is subtraction There is no need for fancy abs…

05/31/2026

chastext editing itself on DOS

What you saw in this video is a demonstration of how the program I wrote, chastext, can read itself, make changes, and send a copy to another file.

I made some changes to the code to allow it to correctly output even zero bytes when changes are being made. The search and replacement strings must be the same length, but if they are, it is possible to have a new executable file with the replaced text that will have it every time it runs.

The implications of this are astounding because it means that I can use it to change text for binary files of any sort and use it along with chastehex, which is meant for editing bytes to specific values.

And by using the power of batch or shell scripts, as I showed in a previous video, I can make changes to files automatic. This power is what I had in mind when I started assembly language. I have learned more than I thought possible. The key is the master of system calls, and I will be documenting these more as I write the Linux version of my book. Perhaps a comparison of DOS and Linux calls would be helpful.

chastext for LinuxThis is the source of my chastext program in Linux Intel Assembly language. It is actually very impres...
05/18/2026

chastext for Linux

This is the source of my chastext program in Linux Intel Assembly language. It is actually very impressive that I managed to fix the many bugs it had. It is a simple find a replace program that I may use in future development of small assembly programs. Each run of the program can only change one kind of string to another, but since the commands can be chained together, transformations are possible beyond what I can explain right now....

This is the source of my chastext program in Linux Intel Assembly language. It is actually very impressive that I managed to fix the many bugs it had. It is a simple find a replace program that I m…

05/07/2026

chastext for DOS

I wrote a DOS version of the chastext program for simple search and replace. It does have some limitations because command line arguments are handled very different in DOS than they are in Linux. I can't simple put quotes around two words to have them count as one argument like I can in Linux. Aside from that, it seems to work. I can replace individual words in a text file with a different word. I will have a demo video up soon but see the post about the Linux version in the Linux forum to get the basic idea of what it should do. I am not trying to recreate sed or awk but a simple find/replace is a worthwhile project for learning something new after I have mastered my chastehex and chastecmp programs. I can manipulate binary files flawlessly because they are predictable so now I am testing my limits on text based processing. The source of the assembly code for Linux and DOS is available. I also have a C version that should work on any OS.

https://github.com/chastitywhiterose/chastext

chastext for DOSI wrote a DOS version of the chastext program for simple search and replace. It does have some limitatio...
05/07/2026

chastext for DOS

I wrote a DOS version of the chastext program for simple search and replace. It does have some limitations because command line arguments are handled very different in DOS than they are in Linux. I can't simple put quotes around two words to have them count as one argument like I can in Linux. Aside from that, it seems to work....

I wrote a DOS version of the chastext program for simple search and replace. It does have some limitations because command line arguments are handled very different in DOS than they are in Linux. I…

I wrote another assembly program. This one works with text files instead of binary files. It can do a search and replace...
05/06/2026

I wrote another assembly program. This one works with text files instead of binary files. It can do a search and replace of all occurrences of a string in a text file. This could be useful for translating programs between programming languages or editing text configuration files. This screenshot is an example of how it can be used.

chastehex for Windows updateI made an update to the chastehex program for Windows. I made it consistent with the behavio...
04/30/2026

chastehex for Windows update

I made an update to the chastehex program for Windows. I made it consistent with the behavior of the Linux assembly and C version of the same program. Now it will print the name of the file being opened, display text according to the current mode you are using, and then display EOF to indicate that the end of the file was reached. chastehex is a rather complex program because of the fact that it can read or write bytes at specific addresses if you give it the right arguments. If you give it only a filename as an argument, it will hex dump the entire file....

I made an update to the chastehex program for Windows. I made it consistent with the behavior of the Linux assembly and C version of the same program. Now it will print the name of the file being o…

Address

Lees Summit, MO

Alerts

Be the first to know and let us send you an email when Chastity White Rose Gaming posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share