The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Email Subscription

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 717 other subscribers

Archive for July 7th, 2016

James Newman built himself a 16-bit Megaprocessor using transistors in frames taking 12 by 2 meters. Wow!

Posted by jpluimers on 2016/07/07

It took James Newman more than one and a half years of actually building progress and more than that (thinking about it started in 2011) for designing his own Megaprocessor using transistors.

For like EUR 50000 and a lot of “learning opportunities” he built himself a room full of visual computing: you can see the LEDs on all the PCB boards indicating exactly what’s going on (heck: he even made the RAM visualise an actual tetris implementation).

All for the sake of understanding transistors and discrete logic after which things got out of hand.

Hopefully a tech museum will buy this.

His site as a truckload of information, for instance the Source: Megaprocessor – FAQ: good/bad/ugly linking to lots of technical details and decisions made (like throwing out surface mount components but using lead based solder or having dual output logic).

There’s a lot of video too (like Megaprocessor – How ?) but – especially these weeks – the downloading is slow, to it’s faster and easier to watch his Youtube playlists:

They are currently 6 videos each, but he has uploaded more videos and is working on more.

Finally, James even built an assembler for this 16-bit processor. How cool is that!

–jeroen

via:

Read the rest of this entry »

Posted in Development, Fun, Hardware Development | Leave a Comment »

Resource decompiler – converting/decompiling/extracting .RES files into .RC files and separate resources

Posted by jpluimers on 2016/07/07

via: Resource decompiler

One day I’m going to need ResourceHacker as it has an -extract option to extract resources.

The above link even has a batch file that can server as a start automating that process:

@echo off
set file="GeneSys"

if exist %file%.rc del %file%.rc

ResHacker.exe -extract %file%.res, %file%.rc,  Bitmap,,
ResHacker.exe -extract %file%.res, temp.rc,  Icon,,
type temp.rc >>%file%.rc
ResHacker.exe -extract %file%.res, temp.rc,  Dialog,,
type temp.rc >>%file%.rc
ResHacker.exe -extract %file%.res, temp.rc,  Menu,,
type temp.rc >>%file%.rc
ResHacker.exe -extract %file%.res, temp.rc,  StringTable,,
type temp.rc >>%file%.rc
ResHacker.exe -extract %file%.res, temp.rc,  Accelerators,,
type temp.rc >>%file%.rc
ResHacker.exe -extract %file%.res, temp.rc,  VersionInfo,,
type temp.rc >>%file%.rc
del temp.rc

I save it as extract.bat and a commandline usage: extract GeneSys will extract all the resources from GeneSys.res

–jeroen

PS: as the MASM forum sometimes nags with logins, I saved the above page in the wayback machine.

I’ve verified that [WayBack] ResourceHacker and the downloads ([WayBack] installer and [WayBack] portable) are there too.

Read the rest of this entry »

Posted in Development, Resource Files and Scripts (.res/.rc), Software Development, Windows Development | Leave a Comment »

Easy way to generate “System.InvalidOperationException: Nullable object must have a value.”

Posted by jpluimers on 2016/07/07

Easy way to generate “System.InvalidOperationException: Nullable object must have a value.”.

using System;
public class Test
{
public static void Main()
{
int? nullableInt = null;
int nowInt = (int)nullableInt;
}
}

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »