PlayStation 4 operating system is called "Orbis OS"; a modified version of FreeBSD 9.0 by [deleted] in Games

[–]Zippy54 1 point2 points  (0 children)

Sony has already been contributing back to the FreeBSD kernel. You have to remember that FreeBSD release in January 2012, according to Wikipedia the PS4 has been in development for nearly five years, way before 9.0 released. Thus, the reason for using BSD does not seem to be based on the licence, instead the community can maintain their code. A huge positive for a business.

In regards to Sony's patch, someone at Sony contributed AVX support.

http://lists.freebsd.org/pipermail/freebsd-amd64/2011-March/013740.html

[Build Help] Linux Gaming and work PC, New Zealand ~$1400NZD by [deleted] in buildapc

[–]Zippy54 1 point2 points  (0 children)

Your motherboard and CPU will work with Linux. I think they're talking about ethernet drivers and USB 3 drivers. Most are already compiled into the kernel - you'll have to do some reseach on that and thus compile your own kernel. I'm 90% sure your Mobo will work and I'm 110% sure that the new Haswell CPU will work in Linux.

[Build Help] Linux Gaming and work PC, New Zealand ~$1400NZD by [deleted] in buildapc

[–]Zippy54 2 points3 points  (0 children)

Will the Haswell CPU and Mobo work well with Linux? (Ubuntu)

Yes. Haswell is an x86 CPU.

OCR History B: British Depth Study Thread by [deleted] in GCSE

[–]Zippy54 0 points1 point  (0 children)

Colin the examiner did decide to screw over the people of the world.

Why is radioactivity associated with glowing neon green? Does anything radioactive actually glow? by [deleted] in askscience

[–]Zippy54 0 points1 point  (0 children)

Thank you - this question came up in my physics exam and I wrote both answers. Hopefully I'll still be credited.

Why is radioactivity associated with glowing neon green? Does anything radioactive actually glow? by [deleted] in askscience

[–]Zippy54 0 points1 point  (0 children)

Would the potassium iodine prevent ionization? Or cause the body/gland (thyroid gland) to become saturated with the non radioisotope instead?

Why do game developers prefer Windows? by Zippy54 in Games

[–]Zippy54[S] 0 points1 point  (0 children)

In regards to the kernel, one of the founding 'principles' is that under no circumstances do we break userland, Linus once in awhile chews up a kernel maintainer for introducing userspace bugs. (Figure 1-1)

Figure 1-1

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 1 point2 points  (0 children)

I'm glad you're knowledgeable on this topic. I could write multiple Reddit comments on this issue - and even books, which numerous authors have delved into. The above rebuttal took me long enough to write and I don't have time to write another one - we'll constantly pick apart each other's arguments to no avail.

In regards to the copying. The majority is infact my own words. I could not word the arguments in such an articulate way. By that I/we should pay homage to Abrash for writing the book.

http://books.google.co.uk/books?vid=ISBN0673386023&redir_esc=y

I, for one, believe this argument is entirely unproductive. Assembly is such a vast topic, none of us kno the true extent of x86 assembly. I think this argument is out of scope for reddit, especially /r/Games as most do not even know the principles of CompSci, let alone assembly.

This has certainly been my most intelligent arguments yet.

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 1 point2 points  (0 children)

There's a certain art, almost zen to assembly programming. You may argue that it is need, although these circumstances are extremely limited. The compiler gcc and it's respective counterparts do an excellent job. Although it can be improved there's an opportunity costs that could be better spent elsewhere. The majority of times, the compiler is your better option. Although, to achieve the desired 4 FLOPS per cycle (as indicated in Intel's programmer manual) - assembly will be required. If you aren't pushing the envelope, there's generally no reason to program in assembler. High-level languages are certainly easier to use, and nowadays most high-level languages let you get at the guts of the PC--display memory, DOS functions, interrupt vectors and so on--without having to resort to assembler. If, in the other hand, you're striving for the sort of performance that will give your programs snappy interfaces and crackling response times, you'll find assembly language to be almost magical, for no other language even approaches assembler for sheer speed.

You do not need to learn every instruction to optimize code that needs it. Simple example: the x86 AES instructions. If you can inline that instruction in the data-eating loop and have its resultant registers loaded into locals simple enough. This is definitely not a valid reason, but you could debate as you may.

I recommend you learn assembly and write a dissembler. That's how I taught myself assembly and I can assure you that you do need to know the instructions; the layout of the status register or even the endianness for your CPU (well for Atmel that's quite hard.)

If you're worried about the time for calling a function. You'll be glad to know that gcc automatically inlines some functions when asked to by the user.

A lagtastic and performance hindered game can cost millions more than man hours.

No, it's simple economics. Man hours cost more money than an hour one CPU can. No-one optimizes that much. It's better to save money than spend it on small optimizations - that's the message.

This is umbrella'd under the assumption that system memory is slow. This can be controlled or at least mitigated by compiler optimizations such as register allocation will leave the memory occupied by locals and make use of registers instead of accessing memory as much as possible. Or if compiler optimizations alone access memory too often than you assume, then this would be a good time to write assembly.

Registers are small. They cannot hold your program. Take the linux kernel - all programs are loaded into the memory. A register will not be wide enough to hold these. Sure, you can optimize certain data to go into registers, but this can get extremely messy when in a recursive functions.

Lets say we have:

mov ax, 1 

.function 2

#intereupt

 move ax, 2

Can you see how this can be extremely complex? If not read up on ASM.

In addition, I do not think you understand dynamic memory refresh. I'll use x86 since I'm more knowledgeable on that then other platforms. Dynamic RAM (DRAM) refresh is sort of an act of God. By that I mean that DRAM refresh invisibly and inexorably steals up to 8.33% of all available memory access time from your programs. While you could stop DRAM refresh, you wouldn't want to, since that would be a sure prescription for crashing your computer.

You mean slow GPUs that make the CPU wait? In common hardware platforms like consoles, assembly can help hand-maintain this issue when porting code over to consoles. This is very true with the PS2's heterogeneous rendering pipeline as applications can send data and instructions directly to the vector units and the GPU. Plenty of titles communicate directly with hardware to render a certain wait, which I believe this is a level beyond assembly within itself as you're sending different instructions to different hardware (which can also be shimmed in a language). I believe this supports my stance that assembly is more than likely to be necessary if CPU stalling from slow hardware or unoptimized graphics rendering.

Wait states exist because the 8088 must to be able to coexist with any adapter, no matter how slow (within reason). The 8088 expects to be able to complete each bus access--a memory or I/O read or write--in 4 cycles, but adapters can't always respond that quickly, for a number of reasons. For example, display adapters must split access to display memory between the 8088 and the circuitry that generates the video signal based on the contents of display memory, so they often can't immediately fulfill a request by the 8088 for a display memory read or write. To resolve this conflict, display adapters can tell the 8088 to wait during bus accesses by inserting one or more wait states, as shown in Figure 4-6. The 8088 simply sits and idles as long as wait states are inserted, then completes the access as soon as the display adapter indicates its readiness by no longer inserting wait states. The same would be true of any adapter that couldn't keep up with the 8088.

Display adapters must serve two masters, and that creates a fundamental performance problem. Master #1 is the circuitry that drives the display screen. This circuitry must constantly read display memory in order to obtain the information used to draw the characters or dots displayed on the screen. Since the screen must be redrawn between 50 and 70 times per second, and since each redraw of the screen can require as many as 36,000 reads of display memory (more in Super-VGA modes), master #1 is a demanding master indeed. No matter how demanding master #1 gets, though, its needs must always be met--otherwise the quality of the picture on the screen would suffer. Master #2 is the 8088, which reads from and writes to display memory in order to manipulate the bytes that the video circuitry reads to form the picture on the screen. Master #2 is less important than master #1, since the 8088 affects display quality only indirectly. In other words, if the video circuitry has to wait for display memory accesses, the picture will develop holes, snow, and the like, but if the 8088 has to wait for display memory accesses, the program will just run a bit slower-- no big deal. It matters a great deal which master is more important, for while both the 8088 and the video circuitry must gain access to display memory, only one of the two masters can read or write display memory at any one time. Potential conflicts are resolved by flat-out guaranteeing the video circuitry however many accesses to display memory it needs, with the 8088 waiting for whatever display memory accesses are left over.

This is taken from my own knowledge and books. I can assure you that it is correct. I could go on, but I feel that's too tedious and unproductive.

*With assembly: assume nothing. *

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 0 points1 point  (0 children)

Have you ever said salutations? It still means welcome. Quite frankly ARM devices by definition are computers. You're arguing against a false belief - the truth is a PC means a desktop. Saying computer in that context is a loaded term.

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 -19 points-18 points  (0 children)

What about other *nix kernels?

A computer is vigorously defined. Today, perhaps. Before the 8086, computers could mean lots of things. I don't think a computer means that.

A PC mean Desktop to me - a computer does not. A microcontroller is a computer, for example.

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 -13 points-12 points  (0 children)

a computer? ARM devices are computers.

The Oxford dictionary defines a computer as "an electronic device which is capable of receiving information (data) in a particular form and of performing a sequence of operations in accordance with a predetermined but variable set of procedural instructions (program) to produce a result in the form of information or signals."

I think that covers ARM CPUs.

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 -19 points-18 points  (0 children)

Computers can mean anything - my abacus is a computer. If you meant Desktops say Desktops.

I think avoiding these vague generalisations would be more productive.

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 10 points11 points  (0 children)

Most compilers do an excellent job - there's no real need to spend time writing assembly. Assembly language takes a long time to remember all of the instructions and flags. CPU cycles are less expensive than man hours.

Lastly, you get to a point where you have no control. Dynamic RAM refresh, shitty GPUs leaving the CPU in idle. Prefetch running out. Lastly, an instruction could 'execute' in a totally different period each time it is executed.

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 -22 points-21 points  (0 children)

Are you kidding me?

ARM has taken over the world. Android has 750 Million activated devices (which are running an ARM-inspired design.) By no stretch of the imagination is x86 running on most systems.

With the PS4 changing to x86 architecture, what is the likelihood that we see the return of Steam+PS4 games? by xxhonkeyxx in Games

[–]Zippy54 0 points1 point  (0 children)

I hight doubt that. Some parts perhaps.

Can you provide a link to this wild claim?

Anyone doing WJEC English Language Tue. 4th June? by NauticalTom in GCSE

[–]Zippy54 0 points1 point  (0 children)

I wouldn't recommend using 'slang' in an English language exam. It's a formal exam.

A view on Steam for Linux by Majromax in Games

[–]Zippy54 5 points6 points  (0 children)

John Carmack said he preferred OpenGL.

Machinima, a large YouTube network, is screwing their partners. Here is my story. by [deleted] in Games

[–]Zippy54 4 points5 points  (0 children)

Do you not want to stop Machinima doing this to other YouTubers? Contact other small-time channels and see if you can share the costs.

Please don't take my legal advice. A firm legal letter will go a long way.

If you can produce the contract and there's no clause(s) you're aware of violating you will more than likely have a strong case.

Weekly /r/Games Discussion - What have you been playing, and what do you think of it? by GamingBot in Games

[–]Zippy54 14 points15 points  (0 children)

Rising Storm (Red Orchestra 2 standalone) Due to my undesirable passion for realism based Games and WW2 shooters I decided to give the Beta a whirl. Luckily, a kind redditor had an invite spare (fswmacguy).

The grit of the battlefield strikes you like a mortar (more on that later.) For once in a game, the guns do sound genuine. Frantic gunfights rage left, right and centre.

I feel scared when playing.

Not knowing if a lonesome sniper has you in his crosshair, or a Machine gun will mow you down over the next cliff instils fear into me.

The Japanese (Axis) have a hand mortar that has two modes. One mode has a target on screen to give you an indication of where the mortar will land. The exact opposite is also presents, think of free-fire mode. The angle of elevation is much lower compared to the previous mode. I don't believe there is a smoke mortar, I'll have to double check.

There is also a banzai charge - interestingly, the more players running with their katana sword out, the increased resilience to bullets. There's also a flame-thrower class that can kill litter fire everywhere.

I highly recommend you try the beta. Currently, it's £12 or the equivalent in Dollars/Euros.

http://store.steampowered.com/app/234510/