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

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

    Join 1,862 other subscribers

Archive for the ‘Assembly Language’ Category

Compiler Explorer – how various C++ compilers translate code into various machine code targets

Posted by jpluimers on 2017/01/03

The first implementation of Compiler Explorer supports many versions of the gcc, clang and icc compilers on ARM, ARM64, AVR and x86 targets.

On the left you type your C++ code, on the right you see the resulting assembler code optionally with byte code and colorised so you can correlate the C++ lines with the assembly.

A great way to start the year: learning new things!

Related:

–jeroen

via:

Some videos:

Read the rest of this entry »

Posted in ARM, Assembly Language, C++, Conference Topics, Conferences, Development, Event, Software Development, x86 | Leave a Comment »

ARM-Based Windows 10 Portable PCs!? Hell Yes! – Thurrott.com

Posted by jpluimers on 2016/12/08

Windows 10 on ARM will supply a long-rumored feature: The ability to run 32-bit Win32/x86 desktop applications—Apple iTunes, Adobe Photoshop, Google Chrome, whatever—directly on the system, unchanged.

Wow, just wow.

[WayBackARM-Based Windows 10 Portable PCs!? Hell Yes! – Thurrott.com

Via:

Posted in ARM, Assembly Language, Development, Power User, Windows, Windows 10 | Leave a Comment »

The Codeless Code: Ancient code

Posted by jpluimers on 2016/08/10

something like: 100 PRINT “&F2&B&H3&W2Hello, world!”would select font , bold, with triple height and double width, and render “Hello!” on the high-res screen

Source: The Codeless Code: Ancient code – hand coded (on paper) 6502 assembly!

via: 6502 assemblerbeen there, done that – Thomas Mueller (dummzeuch) – Google+

–jeroen

Posted in //e, 6502, 6502 Assembly, Apple, Apple ][, Assembly Language, Development, History, Power User | Leave a Comment »

Apollo 11 guidance computer source code on github (it was available as a series of PDFs for a while)

Posted by jpluimers on 2016/07/14

Temporary, I hope hope hope

Temporary, I hope hope hope

via: Apollo 11 guidance computer source code now on github. Someone lost hope. : Reddit ProgrammerHumor

Somebody lost hope – see the image on the right – or these two lines at GitHub.

Those are the OCR-ed and hand corrected sources from the stack of paper below: chrislgarry/Apollo-11: Original Apollo 11 guidance computer (AGC) source code digitized by folks at Virtual AGC (http://www.ibiblio.org/apollo/).

Some great links from the above Reddit thread:

Some more on the original PDFs from various sources:

–jeroen

via: Apollo 11 guidance computer source code now on github. Someone lost hope.

Read the rest of this entry »

Posted in Assembly Language, Development, History, Software Development | Leave a Comment »

MOnSter 6502

Posted by jpluimers on 2016/05/16

This is so impressive: MOnSter 6502 basically a 6502 on a PC board running at 100s of kHz.

via:

–jeroen

Posted in 6502, 6502 Assembly, Assembly Language, Development, History | Leave a Comment »

Easy 6502 by skilldrick: an ebook tutorial to learn 6502 assembly with embedded simulator

Posted by jpluimers on 2015/08/04

A while ago, Alan Cox write a G+ post pointing me to Easy 6502 by skilldrick. The last couple of weeks I finally found time to play with it:

It is a tutorial ebook by Nick Morgan with examples and a play ground based on the adapted JavaScript 6502 assembler and simulator right integrated into a github.io site.

From the perspective of learning assembly language to get a grasp of thinking at the lowest computer abstraction, it is an ideal tutorial: the 6502 is a very simple 8-bit processor with only 3 registers. These restrictions make programming fun.

These are the topics covered:

This is what Alan thinks about it:

… some of the other 6502 tutorials

This one is really really neat – bit more basic than the bits I need to brush up on but really nicely done.

skilldrick.github.io/easy6502/Easy 6502.

via:

Posted in 6502, 6502 Assembly, Assembly Language, Development, History, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »

20 years ago today: Here’s a nickel kid. Go buy yourself a real computer.

Posted by jpluimers on 2015/06/24

An eternal Dilbert strip that is based on the tiny Here’s a nickel kid. Go buy yourself a real computer fragment from single.h:

#if _FP_W_TYPE_SIZE < 32
#error "Here's a nickel kid. Go buy yourself a real computer."
#endif

Read the rest of this entry »

Posted in *nix, ARM, Assembly Language, Delphi, Delphi 1, Development, Fun, Geeky, History, MS-DOS, Power User, Software Development, Windows, Windows 8.1, Windows 95, Windows NT, x86 | 2 Comments »

2 More Old Micro Cornucopia issues on BitSavers from 1986 « The Wiert Corner – irregular stream of stuff

Posted by jpluimers on 2015/06/18

Almost two years ago, I wrote “the only issues missing are #28, #30 and #31.”. As of mid May any more:

All of them are from the 5th anniversary year.

–jeroen

via 2 More Old Micro Cornucopia issues on BitSavers from 1986 « The Wiert Corner – irregular stream of stuff.

Posted in 6502 Assembly, Assembly Language, BitSavers.org, C, C++, Development, History, Pascal, Software Development, Turbo Pascal | Leave a Comment »

Visualisation of the 6502; awesome pictures – via: mos6502 – Google+

Posted by jpluimers on 2015/02/21

visual6502 pictures via: mos6502 – Google+.

I’ve edited their post below to embed all the links.

–jeroen

Original post with embedded links and edited for readablity:

This week, a new visualisation of the 6502, upcycled from an old favourite. Xray6502 uses the data from the visual6502 project to animate the flow of data values around the chip in rainbow colours. Wladimir has put the code up on github[1], and shared some animations on the 6502 forums too – see our featured link.

You may know that visual6502 is a transistor-level simulation of the NMOS 6502 for your browser.  We still see it referenced from time to time[2][3], to explore the circuit and to illustrate exact cycle by cycle behaviour of the chip, and also used to teach the workings of microprocessors in universities[4…7].  It first saw daylight when Greg James presented his findings at SIGGRAPH back in 2010[8], but Greg had been tracing the circuit for much of the previous year. Barry and Brian Silverman had been constructing the circuit simulator and the presentation as a web site. Later that year visual6502.org went live, and went through a series of performance improvements, enhancements and a few bug fixes. It now hosts several simulations, a wiki of notes about the 6502, and several other die photos.

Because visual6502 is open source, it’s been used before for related projects: Michael Steil has published perfect6502[9] which is a C port of the simulation.  Elsewhere we find visual2A03[10] which expands the simulation to the CPU chip in the NES. (But note, to save on duplicated effort, this is a real 6502 simulated, not the one with decimal mode ripped out[11] which is actually in the chip.)

Now Wladimir joins in, with this data-tracing visualisation – what can we expect next?  Have you played with your visual6502 today?

via mos6502 – Google+.

Posted in 6502 Assembly, Assembly Language, Development, Power User | Leave a Comment »

For the 6502, 65c02 and 65816 freaks out there: WDC have made their Programming the 65816 Including the 6502, 65C02 and 65802 available for free again

Posted by jpluimers on 2014/12/24

Cool:

Shared publicly

For the 6502, 65c02 and 65816 freaks out there: WDC, who still produce the chips, have made their Programming the 65816 Including the 6502, 65C02 and 65802 available for free again (see link below). It’s the standard reference for the new version of these CPUs. Yes, this will be on the test. Ping +Alan Cox HT to BDD on 6502.org

–jeroen

For the 6502, 65c02 and 65816 freaks out there: WDC, who still produce the….

Posted in 6502, 6502 Assembly, Assembly Language, Development, History | Leave a Comment »