Skip to content

Commit

Permalink
Paint it black
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnologyClassroom committed Apr 18, 2018
1 parent a656435 commit 64b1e1e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
25 changes: 19 additions & 6 deletions README
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
This is a slightly modified version of Memtest86+ that paints the bottom of
the screen green after 2 successful passes. This way, you can scrape the
console screen in order to determine if the your memory test is done.
# Memtest86+

This is a slightly modified version of Memtest86+ 4.20.

Changes in 4.21:
- Black background (TechnologyClassroom)
- Paints the bottom of the screen green after 2 successful passes. (scottjg)
- Fixed bug in [Error Report Mode] menu (andrcmdr)
- The name of SK Hynix Semiconductor is updated (hjPARK1121)

## Compiling

1. Install Ubuntu 14.04 Server in a VM.
1. Install Ubuntu 14.04 Server in a VM. The toolchain since then does not work.
2. Uncomment src repositories in /etc/apt/sources.list

```
sudo nano /etc/apt/sources.list
sudo sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list
```

Note: This command enables the ```partner``` repo which is not default. You may
wish to disable this repo with:

```
sudo sed -i '/partner/d' /etc/apt/sources.list
```

3. Update software sources.
Expand Down Expand Up @@ -45,7 +58,7 @@ sh makeiso.sh
```


Memtest86++ v4.21
Memtest86++ v4.20
=================

Table of Contents
Expand Down
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Memtest86+ V4.21 changelog
--------------------------

- Black background (TechnologyClassroom)
- Paints the bottom of the screen green after 2 successful passes. (scottjg)
- Fixed bug in [Error Report Mode] menu (andrcmdr)
- The name of SK Hynix Semiconductor is updated (hjPARK1121)
Expand Down
4 changes: 2 additions & 2 deletions init.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ static void display_init(void) {
serial_echo_print("\x1B[0m");
serial_echo_print("\x1B[37m\x1B[44m");

/* Clear screen & set background to blue */
/* Clear screen & set background to black */
for (i=0, pp=(char *)(SCREEN_ADR); i<80*24; i++) {
*pp++ = ' ';
*pp++ = 0x17;
*pp++ = 0x07;
}

/* Make the name background red */
Expand Down

0 comments on commit 64b1e1e

Please sign in to comment.