Learning C64 Programming 1

Assembly and Machine Code Programming on C64

Guowei Lv

2 minute read

The old is the new new. I really love 8-bit games, why not try to learn how to develop them? The best time to do this is when I was 10 years old after I got my first NES console, the second best time is now. So here we are, I’m documenting all the learning along the way in this blog. First, let’s setup the dev environment. Machine Here is the machine that I’m using for this, my newly acquired ThinkPad T60, with Zorin 32bit version installed.

Guowei Lv

5 minute read

Let’s build a sliding menu from scratch by hand. First a glimpse of what the final result looks like. Step 1: Horizontal Scroll View The secret is that this is just a customized HorizontalScrollView: class SlidingMenu @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 ) : HorizontalScrollView(context, attrs, defStyleAttr) { … } The view can be divided into 2 parts: menu view and content view, and they are just put next to each other.

Elementary Pascal

My first book on Pascal

Guowei Lv

1 minute read

I got this book a while ago. I want to get 2 things out of this book: Learn some basic Pascal in order to read the Algorithms Plus Data Structures Equals Programs by Niklaus Wirth. Find some entry level programming teaching material that I can use to teach my kid to program. Code

Monthly Favourite Songs

December 2020

Guowei Lv

1 minute read

佐井好子 Can’t believe these albums are from the 70s, ten years before I was born and sounds much better than 99% of todays music.

Monthly Favourite Songs

November 2020

Guowei Lv

1 minute read

Deva Premal & Miten I’m naturally attracted to the religious music since I was very young, maybe under 10 years old. Deva Premal is one of the best that I can find in this genre that is also easy to be enjoyed by a normal person. And when I traveled to Malaga in Spain, I listened to her songs all the time, and since it is a place near the Arab world, somehow it fit perfectly.