retrobench
2 years agominor makefile fixes master
John Tsiombikas [Sat, 22 May 2021 05:53:43 +0000 (08:53 +0300)]
minor makefile fixes

2 years agounix: made -m32 and --32 flags conditional, only when building on x86_64
John Tsiombikas [Sat, 22 May 2021 05:51:56 +0000 (08:51 +0300)]
unix: made -m32 and --32 flags conditional, only when building on x86_64

2 years agovbe: print rgb masks/shifts to the log
John Tsiombikas [Sat, 22 May 2021 05:41:15 +0000 (08:41 +0300)]
vbe: print rgb masks/shifts to the log

2 years agoforgot about the non-zero base of the conventional memory selector in CWSDPMI...
John Tsiombikas [Sat, 22 May 2021 05:07:37 +0000 (08:07 +0300)]
forgot about the non-zero base of the conventional memory selector in CWSDPMI...

2 years agofixed C++ comment in gfx.c
John Tsiombikas [Sat, 22 May 2021 01:25:06 +0000 (04:25 +0300)]
fixed C++ comment in gfx.c

2 years agofixed potentially reading out of bounds when doing banked blit to framebuffer
John Tsiombikas [Sat, 22 May 2021 01:22:25 +0000 (04:22 +0300)]
fixed potentially reading out of bounds when doing banked blit to framebuffer

2 years agofirst attempt at fixing the VBE 1.2 fallback code
John Tsiombikas [Sat, 22 May 2021 01:08:06 +0000 (04:08 +0300)]
first attempt at fixing the VBE 1.2 fallback code

2 years agofixed lutgen build on DOS
John Tsiombikas [Fri, 21 May 2021 10:57:35 +0000 (13:57 +0300)]
fixed lutgen build on DOS

2 years agoadded read_cpuid and MTRR support checking before trying to set them
John Tsiombikas [Fri, 21 May 2021 10:03:03 +0000 (13:03 +0300)]
added read_cpuid and MTRR support checking before trying to set them

2 years agoDJGPP cross-build
John Tsiombikas [Thu, 20 May 2021 19:26:19 +0000 (22:26 +0300)]
DJGPP cross-build

2 years agoadded article link
John Tsiombikas [Thu, 20 May 2021 14:04:55 +0000 (17:04 +0300)]
added article link

2 years agoimproved the xor effect slightly
John Tsiombikas [Thu, 20 May 2021 12:47:06 +0000 (15:47 +0300)]
improved the xor effect slightly

2 years agoadded readme and license
John Tsiombikas [Thu, 20 May 2021 03:18:57 +0000 (06:18 +0300)]
added readme and license

2 years agofirst attempt at setting write-combining with MTRRs. It works, but no
John Tsiombikas [Wed, 19 May 2021 22:43:27 +0000 (01:43 +0300)]
first attempt at setting write-combining with MTRRs. It works, but no
detection yet (so will crash on anything < p6), and it fails to detect
it already set the correct range from a previous run, and fills up the
MTRRs with every subsequent run.

2 years agodos: stop logger and write fps to the console before exiting
John Tsiombikas [Wed, 19 May 2021 04:03:54 +0000 (07:03 +0300)]
dos: stop logger and write fps to the console before exiting

2 years agofbdev backend works
John Tsiombikas [Wed, 19 May 2021 03:01:40 +0000 (06:01 +0300)]
fbdev backend works

2 years agostarted fbdev port
John Tsiombikas [Wed, 19 May 2021 01:12:25 +0000 (04:12 +0300)]
started fbdev port

2 years agoVBE fix: wrong bpp reported (24) with 32bpp modes
John Tsiombikas [Tue, 18 May 2021 23:44:30 +0000 (02:44 +0300)]
VBE fix: wrong bpp reported (24) with 32bpp modes

2 years agopulled in and adapted the dos code from eradicate
John Tsiombikas [Tue, 18 May 2021 03:06:23 +0000 (06:06 +0300)]
pulled in and adapted the dos code from eradicate

2 years agoforgot to change the cosine offset to match the 1024 lut size
John Tsiombikas [Mon, 17 May 2021 22:51:41 +0000 (01:51 +0300)]
forgot to change the cosine offset to match the 1024 lut size

2 years agothe sin lut was too small for any kind of reasonable resolution in high
John Tsiombikas [Mon, 17 May 2021 22:50:37 +0000 (01:50 +0300)]
the sin lut was too small for any kind of reasonable resolution in high
framerates

2 years agoApparently DJGPP make also tries to use GNUMAKEF preferentially if it
John Tsiombikas [Mon, 17 May 2021 22:29:17 +0000 (01:29 +0300)]
Apparently DJGPP make also tries to use GNUMAKEF preferentially if it
can find it, so there's no point in calling the UNIX makefile
GNUmakefile. Revert it to Makefile and we'll just use make -f
makefile.dj for dos.

2 years agoblank dos build
John Tsiombikas [Mon, 17 May 2021 22:28:13 +0000 (01:28 +0300)]
blank dos build

2 years agodrop floating point from the main loop
John Tsiombikas [Mon, 17 May 2021 08:28:08 +0000 (11:28 +0300)]
drop floating point from the main loop

2 years agomade override_redirect an envvar option (RBENCH_NO_WM)
John Tsiombikas [Mon, 17 May 2021 02:58:16 +0000 (05:58 +0300)]
made override_redirect an envvar option (RBENCH_NO_WM)

2 years agooverride redirect, obey ximage rgb masks, restore completion event
John Tsiombikas [Mon, 17 May 2021 05:44:49 +0000 (08:44 +0300)]
override redirect, obey ximage rgb masks, restore completion event

2 years agoscrolling XOR benchmark
John Tsiombikas [Mon, 17 May 2021 01:38:35 +0000 (04:38 +0300)]
scrolling XOR benchmark

2 years agoinitial commit
John Tsiombikas [Sat, 15 May 2021 17:41:47 +0000 (20:41 +0300)]
initial commit