Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / The Posting Competition

Author
Message
Seppuku Arts
Moderator
13
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 7th May 2018 22:09 Edited at: 7th May 2018 22:58
Blah, missed some of those. But the Judas Priest one was freaking sweet. I'll catch up with the rest. I also listened to the new Dead Daisies album, which was pretty good, which also led me into listening to some Winery Dogs too lately. I saw Dead Daisies over a year ago with my family, they were really good, though my dad stood next to a guy who looked bored, so the bass player kept trying all sorts of tricks to get this miserable sod moving, so he got off stage and kinda joined the crowd and got close to the guy, who still was unmoved.

You might like them if you've not listened to them:


Quote: "Nice to know you've finally found a programming job, Sepp! Congrats! "


Thanks man. It isn't a set up I expected for going into a programming role, they still support software they developed 30 years ago for an operating system that came out in the 60's, kudos to them. But they've hired me as a hybrid, so I'll be working on the shiny new stuff as well as the stuff older than me.

Quote: "
My 8 teammembers and I are still working hard on Crystals Of Theia. Aiming for a demo release this year. "


Freaking sweet. Well let us know when you do. I'll have a play through.

I've also now committed myself to bit of game dev again, now that my learning web dev and various bits and pieces has paid off, I can focus on using that time for game dev. So I have picked up a project I was working on again. I had done experiments across 3 sets of tools and am gonna settle on Unity for it.

Screenshots below. The desert I already had done before, but I added some stuff for the green area. It's going to be based around a single town, with a couple of wilderness areas around it. I aim to have 2 main characters, 10 townspeople, 4 hero characters, a villain and about 10 variations of monster types. At least, something I expect to be manageable to model out, I've subbed up to Modo Indie so I can use 3D tools I get along with.

The characters will be placeholders there. Other stuff, I paid for, so gonna use them.

https://imgur.com/a/8M2hb7K



Page.
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 9th May 2018 07:34
Quote: "Well, I guess as it has been a while, what's new party people? "
It's been too long! Congrats on the programming job!

It's been years since I've been programming much. DBPro used to be my language of choice, but it's so hard to get it working these days (finding a good IDE, installing the right version of DirectX, etc etc). I've had some random experiments I've wanted to do for some time, so I finally bit the bullet and began looking for a language that would suite me. I ultimately decided on C, and I simply love it. Best language I've ever used! I enjoy its utter simplicity, and I've never been a fan of OOP, so it's perfect. I came up with some random instruction set and I've been implementing an emulator to run it over the past few weeks, which has been a great learning experience. The core emulator works, but I have to manually enter values into an array to program the emulator, and it can only output to the console so far, so I next need to dive into some file IO and graphical interface stuff. Optimization is another challenge -- I have it up to about 125 MIPS at the moment, but I've had simpler prototype emulators run in excess of 270 MIPS.
Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 10th May 2018 21:15
Quote: "some random instruction set"

Are there registers called pft, pfft, pffft, and pfffft?


Other than this youtube channel, I've been procrastinating on more important things and occasionally working on Exotreve.
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 11th May 2018 00:05 Edited at: 11th May 2018 00:08
Quote: "Are there registers called pft, pfft, pffft, and pfffft?"
I should name some that! It's a load store architecture, but has many registers. I currently have it set to 512 registers -- probably not practical in the real world, but hey, this is an emulator! The instruction set is a little inefficient in size, with each instruction being 6 bytes. The first 2 hold the instruction and addressing mode for each of the (up to) 3 operands, and the other 4 (or 6) bytes hold the 2 (or 3) operands themselves. I've since come up with a more efficient way to represent instructions, but I'm too lazy to rewrite the emulator for a 4th time.

It seems that, quite strangely, bitwise operations are taking a rather long time to perform. I use the bitwise operations (mainly AND) to break the first two bytes into instruction and addressing mode codes. That alone is eating up like a third of the total run time.

I am now confused as to what the correct ear cleaning technique should be. You should make a video on that!
Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 11th May 2018 20:16
Quote: "512 registers"

I have a great idea! Make one of the registers not work properly and don't document which one.
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 11th May 2018 20:59
Quote: "don't document which one."
Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 11th May 2018 23:10
So what are your addressing modes?
320x224
Seditious
4
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 12th May 2018 20:46
512 registers? That should make for some bloated opcodes.
2002 - Present
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 12th May 2018 21:05 Edited at: 12th May 2018 21:17
Quote: "That should make for some bloated opcodes."
I mean, each instruction is 6 bytes long.

Quote: "So what are your addressing modes?"
Register, register pointer, address, address pointer, and literal. Each opcode can have its own addressing mode, which explains the 9 bits that specify the addressing modes

The simpler system I came up with reduces the two bytes instruction down to one. I could then have dynamic operand sizes depending on whether they pertain to a register, address, or literal, but that would require more logic in the code and perhaps a slower emulator.

Here's the spec of the instruction set:
Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 12th May 2018 21:36 Edited at: 12th May 2018 21:39
An angel's ping is what you sell
You promise me gameplay and put me through hell
Chains of routers got a hold on me
When latency's risen you'll play poorly

Oh, you're a teleporting gun
Oh, it won't let me run
No one can save me
This match is no fun

Shot through the wall
And lag's to blame
You give WAN a bad name (bad name)
I play my part
And you wreck my game
You give WAN a bad name (bad name)

@Dark Java Dude 64
What about and, or, xor, and shifting?
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 13th May 2018 08:27 Edited at: 13th May 2018 08:31
Quote: "What about and, or, xor, and shifting?"
They're coming soon, that's what the reserved is for! See, I'm designing an instruction set, yet I've never actually programmed in assembly before. So I guess it's kind of a learning experience like that -- I keep realizing that I need extra features and instructions through experimentation and then adding them. It was when I realized that I needed some sort of register pointer capability (I was trying to write a program that would fill a small array) that I redesigned the instruction set to be expandable (albeit inefficient in size).

On that note, my original goal was to emulate a one instruction set computer, specifically SUBLEQ. That was super simple (like 20 lines of code for the main loop) and was really fast, I think I had it up to 370 MIPS. I then realized that I could add extra instructions by creating a small number of address that could not be jumped to (instructions trying to jump to those addresses would be interpreted as different instructions, like add or move). That got really complicated and convoluted, so I came up with what I have now.
Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 13th May 2018 16:09
How do your conditional jumps work? Do you have a status register?
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 13th May 2018 21:41 Edited at: 13th May 2018 22:00
Quote: "How do your conditional jumps work? Do you have a status register?"
They're a little funky so far. They're implemented as compare and jumps. One register is set aside as a ccompare register, so values you want to compare with are moved to that register. Then, the compare and jump instructions each accept two operands. One is the value being compared with the value in the compare register, and the other is the address being jumped to. So far it jumps if the operand value is less than or equal to the value stored in the compare register. Not very elegant, but there's room to expand. A status register is a great idea -- the instruction would jump if the value in the status register is equal to the value specified by the instruction.

Here's a simple program that iterates a variable X up to 20, then resets it to 0, using the compare and jump instruction for flow control:

Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 14th May 2018 01:29 Edited at: 14th May 2018 01:38
Well it seems I went and made an instruction set. I don't currently plan on doing anything with it.
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 14th May 2018 06:48 Edited at: 14th May 2018 06:49
It appears your instruction set may have more features than mine!

Quote: "I don't currently plan on doing anything with it."
Make an emulator
Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 20th May 2018 02:28

That makes a total of three things in this room that are sound damping pillow adjacent.
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th May 2018 09:51 Edited at: 20th May 2018 09:53
I have just watched this video you have posted and that you have shared on these forums. Upon watching that video, I have figured out that the pillows contained within that box may have a low temperature. If you ever decided to sleep with those pillows, and had been using them in the manner depicted in the video you have created and posted and shared on this forum, and if you prefer pillows not to be cold when sleeping with them, you would need to warm the pillows first. Be advised that a microwave oven is not the proper tool for this task.
Yes!
Seppuku Arts
Moderator
13
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 20th May 2018 20:06
I went to the MCN Motorbike Festival today and saw this bad boy:


Who wouldn't want a Frozen themed tricycle?
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 20th May 2018 22:55
The pillow is near the intake vent, so it's probably fine.

Quote: "Who wouldn't want a Frozen themed tricycle? "

It probably has fantastic air conditioning.
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th May 2018 23:03
Quote: "It probably has fantastic air conditioning."
But is the air conditioning sound dampened!?!??!
Yes!
Randomness 128
11
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 20th May 2018 23:31
Quote: "But is the air conditioning sound dampened!?!??!"


It is now!!!
320x224
Dark Java Dude 64
Community Leader
7
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 25th May 2018 17:11
That's really cool.
Yes!
Ortu
DBPro Master
10
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 9th Jun 2018 03:58
I spent the week at Disney and caught the stormtrooper parade up close and personal in 360 VR, the guy got up inches from my face. Grab some cardboard and check it out!

http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 13th Jun 2018 00:12
Hey I didn't knew!
http://www.nyan.cat/pirate

Login to post a reply

Server time is: 2018-06-22 04:59:48
Your offset time is: 2018-06-22 04:59:48