Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

GreaseMonkey

Members
  • Content Count

    36
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by GreaseMonkey

  1. # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x2abb37ec, pid=1852, tid=2888 # # JRE version: Javaâ„¢ SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01) # Java VM: Java HotSpotâ„¢ Client VM (24.65-b04 mixed mode windows-x86 ) # Problematic frame: # C [atioglxx.dll+0x437ec] Update your graphics drivers.While we're at it: # An error report file with more information is saved as: # C:\Users\Space Man\AppData\Roaming\.minecraft\hs_err_pid1852.log Paste that file here.
  2. 1. State the exact OC version you have. You can get this from the filename of the OC jar. 2. Post the crash log here. There WILL be a crash log SOMEWHERE.
  3. This is something that I'm scratching my head over. It would be great if this were written in C (and if I had a dollar for every time I thought that... I think I'm up to about $5 now?), but alas, it isn't, and thus multiple return values are very much out of the question. Having a think about it, it would make sense if the bus ran at 1MHz. The Z80 currently runs at 2MHz, and all memory accesses on the Z80 tend to take a minimum of 3 cycles (in reality it's more like 2 cycles followed by a DRAM refresh but we'll just skip on that and assume the whole window is available for it). The MIPS3 core
  4. Just went back to reading this and I forgot that I ever read it. > The text parsing required is also fairly simple, even on an 8-bit architecture like the 6502. ...converting decimal strings to integers is pretty difficult on a 6502, actually. I get the feeling it would be better to have a text string for architectures which handle text strings well, which then ends in a \n (10, 0x0A) and a \x00 (0, 0x00). Following that should be a binary format. Or heck, this would be better: BOOT:Lua 5.2,Lua 5.3:512+1199\n BOOT:MikeKaraoke:64+102\n \x00(pad up to next 16-byte boundary w/ \x00 b
  5. I've used that colour test pattern before, it's an oldie but a goodie. If you want to have some seriously good fun with it, try writing a raymarcher. I did that prior to BTM16 (not 16.2, just 16) and had something really good but it appears it got lost after the great chunk corruption incident.
  6. Going to quickly mention that there's two versions of DFPWM now (original DFPWM and DFPWM1a). If it sounds too slow, you have an old version of the mod (in that case it's using original DFPWM) and the tape is using DFPWM1a. If it sounds too fast, the mod is using DFPWM1a and the tape is using original DFPWM. Main reason 1a exists is because after a bit of component tweaking I managed to get it to sound *much* better than it used to. (It tends to beat MP3 at 48kbps now.) But yeah, what Lizzy said.
  7. The problem: event.pull returns multiple arguments, not a table with the names put into it. So "touch" will actually contain touch[2], touch[3] instead of touch.x, touch.y. Step 1: Tidy up your places table: local places = {} places.station = {x = 218, y = 151, z = 60} places.library = {x = 205, y = 112, z = 59} places.roomComputer = {x = 206, y = 106, z = 71} places.docks = {x = 218, y = 104, z = 77} places.roomWarLeft = {x = 221, y = 99, z = 70} places.roomWarRight = {x = 221, y = 99, z = 79} places.emergency = {x = 227, y = 99, z = 79} places.proje
  8. Disclaimer: Ubuntu still won't work.
  9. Draft 1 D1: 2016-08-05T02:45:39+00:00 $ date -u -Iseconds ----There are two address spaces for all components: the config space, and the main I/O space. Every component has a VID (virtual ID) and that is how components are addressed. Every VID should be physically settable to any 8-bit value on each component. Any component with a VID set to 0xFF is rendered inaccessible by any methods that address by VID. Every component also has a PID (physical ID) which indicates the physical location of this component on a given bus master. The config space is read-only. Everything in the confi
  10. Are you checking the files in-game or outside of it? You should be doing the former and not the latter. Do you have enough space on your disk to actually do this? You may have success if you do file:flush() before doing file:close(), but if that's what it takes to make it actually appear on disk, then that is probably a bug.
  11. First things first, I'll clean up what you have: --create fake testing data local testDensity = {} local j = 0 for i=1,255 do testDensity[i] = j if j > 2 then j = 0 else j = j + 1 end end --opens test binary file local file = io.open("testBinaryFile", "wb") for i=1, 255 do local d = testDensity[i] file:write(string.char(d)) end file:close() I'm not sure if io.close(file) is properly supported - it's a bit cleaner to just use file:close().Does that code work? I mean you still have one byte per value instead of 2 bits per value, but does it write data to the file now? In order
  12. My understanding is that this forum is mostly for putting proposed standards and whatnot but it should be fine for fleshing out ideas for standards. The problem with this approach of course is you're basically sending a password in the clear. But having a standard protocol + port would be nice. I'd personally do away with the username+password scheme and instead just check if the sender is on a list of authorised IDs. Having session logic should not be necessary as if something needs to be returned over the modem, it should be embedded into the code to run. At this point you'd probably
  13. First things first, I assume you're selling it for in-game currency and not real money? With that said, you could do some form of Software as a Service thing in-game - all the robots are actually dumb slaves and the logic is handled by a master server. But the easiest solution is to use the robot's component address as an encraption key.
  14. http://ci.cil.li/ may be of more use if you just want builds.
  15. Currently unreleased. I would have to diff against a stock 4.1.13 kernel tree and that's more effort than I'm willing to put into it right now.
  16. unscii 8x16 is what's used as a base, but it does have some glyphs from other fonts. I think the CJK stuff is 16x16. Where possible, stick with 8x16.
  17. I prefer the NBT tag approach, and it could possibly have a list of architectures it can handle (e.g. it could be tagged "Lua 5.2;Lua 5.3") and if it doesn't handle the given arch the CPU can autoswitch to the first available arch in the list.
  18. Problem is, Unifont is licensed under the GPL (which means OC as a whole ends up under the GPL), while Unscii is public domain and is notably better for graphical stuff. Furthermore, the font used is actually a mix of Unscii and some PD Japanese + CJK font. What glyphs are missing? If they're linguistic ones you may want to draw them yourself.
  19. If the objective were to make a text editor... well, those things are very hard to write. Fortunately that's not what's being reguested. Under the title on the left side of the screen: ...what? The possibility to put a title in the middle of the screen: Unless you're making this the same size as all other text that will be tricky (it will involve writing your own font + font renderer). Otherwise: gpu.set(math.floor((screen_width-#title)/2)+1, title_y, title) Changing the colors of the text easily: If you use a Tier 2 GPU + screen you can use gpu.setPaletteColor(pal_idx, 0xFFFF00)
  20. If getting completely and utterly owned is what you are trying to achieve then this is a great idea. As for the rest of us, this is a horrible idea. You do not need a well-established SQL database software library. Loading and saving Lua tables should be fine. If you want something more robust. you'll have to use your imagination (it will probably involve using binary files).
  21. Here's some definitions from the OCMIPS ELF bootloader which you can use for whatever the hell you like: static const uint8_t e_ident_match[16+8] = "\x7F" "ELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x02\x00" "\x08\x00" // Change this to match your architecture "\x01\x00\x00\x00"; struct ElfHeader { uint8_t e_ident[16]; uint16_t e_type, e_machine; uint32_t e_version; uint32_t e_entry, e_phoff, e_shoff, e_flags; uint16_t e_ehsize; uint16_t e_phentsize, e_phnum; uint16_t e_shentsize, e_shnum; uint16_t e_shstrndx; }; struct ProgHeader { uint32_t p_type; uint32_t p_o
  22. Would the "OETF documents" subforum be the right place to put specs and drafts and RFCs and whatnot? I think this was discussed on IRC but it would be good to clarify here.
  23. If you want it to be pipable, use io.write() instead of term.write(). Otherwise, pretty solid first Lua program. How long have you been programming for? EDIT: Also, consider using sublevel as an optional argument to list_tree, e.g. local function list_tree(path, sublevel) sublevel = sublevel or 1
  24. My Linux port attempt uses Linux 4.1.13 which is the same version I am using on this laptop to write this message. So it's very much current. Use FreeDOS. I have that on my 266MHz Celeron. Heck, if you want something else that's "current", consider something like RTEMS. Or are you going to use the "not a desktop OS" excuse for that?
  25. I second this notion. There's a lot of stuff that needs to be discussed and there are serveral people with great ideas. OCMIPS was developed with the knowledge that there were AFAIK at least two ARM implementations, and I used gamax92's OC-Example-Architecture repo as a base for it. Alt-architecture stuff does get discussed in IRC. I even hear that someone's writing an x86 emulator. S3 linked a suggestion in IRC for a component bus heavily inspired by the ATM protocol. (I am not talking about automated ATM teller machines where you enter in your personal PIN number.) I suspect an approach
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.