Sign in to follow this  
  • entries
    557
  • comments
    1237
  • views
    422070

Untitled

Sign in to follow this  

64 views

Yay. I finally got around to wrapping all my xmas presents and printing out all my xmas cards (Which are almost all motivational poster things from 4chan.org). I also got a new freeview box, because my new TV seems to hate mine.

A DVD player plugged into either of the two SCART connections on the TV works fine. But plugging a freeview box into either results in a magenta blur to the right of white text, looking a bit like a motion blur, and the colour seems to be slightly off somehow. However, I can remove the SCART plug slightly at one end, and it works fine...

It doesn't seem to be the cable, since I've tried 3 of them, all with the same effect. I'm considering attacking one cable with a pair of pliers to remove one of the pins, if I can find out what one's causing the problem. The new freeview box is easier to get the SCART cable in the right place anyway, and it's short enough to fit under the TV. And it was only GBP25, so I'm not to bothered about buying a redundant box.


In dev related stuff, I'm still working on DruinkScript, although pretty slowly. I've more-or-less stopped doing coding at home after work and at the weekends, I just can't be bothered. Working 9 hours a day coding for a living, and doing an hour and a half of my own coding a day begins to wear on you...
Anyway, I'm at the stage of getting DruinkScript to output assembly now. There's still a few odds and ends I need to iron out, but it seems to be going pretty well. The I-Code nodes that're generated are pretty much exactly like DruinkASM, with one node per instruction, but there'll also be nodes for source code annotation (When I get around to it), and there's nodes for allocating and freeing registers.
For example, a binary op like multiplication comes out as:
  • Allocate a register (Call it RegA)
  • Allocate a register (Call it RegB)
  • Pop the current value of the expression stack into RegA
  • Pop the current value of the expression stack into RegB
  • Invoke operator using RegA and RegB
  • Push RegA
  • Free RegB
  • Free RegA
    A little lengthy, I know. But almost all of that should disappear in the optimiser module, where redundant pushing and popping will be removed, and hopefully most of the registers can be utilised.

    Still do do...
    I need to get more annotation and debug info in. For instance, if I want a variable watch window, I need to know what register it's in, and when it comes into scope and goes out of scope. More I-Code nodes can be used for that, which will only output assembly if the script is compiled in debug mode. They can probably just be opcodes that the VM can read, also in debug mode.
  • Sign in to follow this  


    4 Comments


    Recommended Comments

    Why dont get a composite cable, and put a scart adaptor on one end of it. That way you could plug your composite cable ends into your freeview box, and have the scart adaptor end on your TV.

    This is assuming your freeview box supports composite cables :)

    Share this comment


    Link to comment
    Why dont get a composite cable, and put a scart adaptor on one end of it. That way you could plug your composite cable ends into your freeview box, and have the scart adaptor end on your TV.

    This is assuming your freeview box supports composite cables :)

    Share this comment


    Link to comment
    Why dont get a composite cable, and put a scart adaptor on one end of it. That way you could plug your composite cable ends into your freeview box, and have the scart adaptor end on your TV.

    This is assuming your freeview box supports composite cables :)

    Ive got loads of spare cables if you want to give it a try without buying stuff, I can drop them in tonight.

    Share this comment


    Link to comment
    Quote:
    Original post by Sonnenblume
    Why dont get a composite cable, and put a scart adaptor on one end of it. That way you could plug your composite cable ends into your freeview box, and have the scart adaptor end on your TV.

    This is assuming your freeview box supports composite cables :)
    And therein lies the rub :P

    Although the TV supports composite in...

    Share this comment


    Link to comment

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now